fix cases where ocl events not freed, fixes #17 fixes #18
Merge branch 'openacc' of git@github.com:spaffy/shoc into openacc
adding initial version of reduction