Minor fixes.

* Memory management.
* Unnecessary tests with PETSc >= 3.5.3
Some more cleaning.