extends travis testing to cover release and the nightliess of julia also enables osx testing
simplify runtests and spawn a julia process on travis per test to prevent memory problem
Merge pull request #44 from JuliaGPU/vc/fix-travis

Refactor Travis and test code
split the api into seperate files
find out opencl version
conditionally loads the api calls dependant on the maximum OpenCL version

- removes macros ocl_func_1_x
- changes macro ocl_func to eval in modul context
- import macro in each conitionally loaded file
deprecation not working
reorder api functions
add min macros
use a macro to include the api code, so that you don't have to import the ocl_func macro