Set a CMake policy to eliminate CMake 3 warning.
Update some PETSc related preprocessor tests for PETSc 3.5.

PETSc 3.5 udpate.
Check for CMake policy before setting.