Streamline getting local values from PETScVetcor.

Preparation for using local dof indices.
Merge remote-tracking branch 'origin/garth/petsc-get-local-cleanup' into garth/fix-issue-119
Add local index version to set/add/get functions in GenericTensor/Vector/Matrix.