core: added TLS support
ocl: implemented per-thread OpenCL command queue
Merge pull request #1976 from alalek:ocl_multiple_command_queues