Add user event test + fix bug in ccl_user_event_new

Fix bug in clCreateUserEvent in OCL stub.