Adding image to job to free image on callback

Use asynchronous queue + flush to handle image jobs
Exclude directory from file listing
Adding histogram init and free functions
fix opencl event handling
fix strcpy of job names