adds min_vXX macros and caches the version lookups.

 - Since Contexts and CmdQueues are created en masse we need to cleanup after them.
Merge pull request #54 from JuliaGPU/vc/version_api

Minimum version macros