Context Properties parsing and setting

This PR fixes the parsing and setting of OpenCL context properties.
you can use div here