clover: modernise version handling
CL 3.0 introduced proper versions and macros to interact with them. Move the version strings in clover over to that style.
This is based on work by Pierre Moreau and I've just intergrated it with the CL 3.0 API and cleaned up a few things