Remove use of deprecated functionaity in some tests.
Update code in demos using deprecated interfaces.
Update system test for new assembly sytax.
Add quotes around version numbers when comparing petsc4py and PETSc version numbers.