Context Properties parsing and setting

This PR fixes the parsing and setting of OpenCL context properties.
kind of useless bikeshead, but perhaps size should be renamed to nbytes and this should be nprops.  That should make it more explicit.