Subroutine test now creates a 4.0 context

This is a workaround for null shader subroutine function pointers. It
appears to be a driver issue (NVIDIA 610 332.21 driver on windows 7
64-bit 3.2 context).
Fix constant upload for tessellation test.