improved readability of add_arguments_to_kernel

rotate buffer, instead of multiple function calls
added unit test for constant memory argument
changed cl_event handling in command

preparation for asynchronous copy operations to device