Queue wrapper: add function to release events associated with queue

cf4ocl command queue wrappers internally keep events for profiling
purposes and simpler handling of event associated memory. However,
a very large number of events can have an impact on utilized memory.
In such cases, this function can be used to periodically release
these events.
Several additions to the profiler module

- Add command type to event info
- Add functions to get duration of all OpenCL events
- Release command queue events after profiling
Update version file
Fix error check issue in new profiler functions

Clang complained about this, while gcc did not.
Fix warnings in Clang
Remove unnecessary OCL suffix in OCL stub functions
profiler_op test passing in Windows
Add info unavailable error when info size is zero

Update buffer and platform tests accordingly
All tests passing in MacOSX
Fix int-size_t compare in image filter example kernel

Some OpenCL implementations complained about this warning although
the examples works fine.
Add check to avoid OSX bug in clGetEventProfilingInfo

- Dont consider info unavailable (i.e. size == 0) as an error
when profiling
- Improve error checking in ccl_prof_add_event
Add missing error checks to ccl_image_new_deprecated()

Fix bug in OCL stub: add specification of image type
Update CA example to use more common 4-channel images
i.e. so that it works in OS X.
Add instructions to build linux deb and windows packages with cpack
Changes for Visual Studio compatibility
Explicit function export for Windows DLLs with Visual Studio

Not yet working with testing library
Fix Visual Studio warnings

Still unable to build tests on Windows with the DLL export
refactor.
Fix GLib search when not using gcc, clang or msvc
Fix some more MSVC warnings
Use fprintf instead of g_fprintf when saving profiling info file

Otherwise we get an error in Visual Studio