Merge request for piglit integration etc.

piglit testsuite integration
minor api function fixes
added test for clFinish scheduler