Fix a few issues with parallel passes in VTK

Fixes a number of runtime failures in OpenGL2 with these
parallel passes.  Added a simple test to verify the code runs.

Change-Id: I2bcd998ab013412f7ee89c5ee122e9a1108954c6
Merge topic 'parallel_passes' into master

dd3801a1 Fix a few issues with parallel passes in VTK