Modified static plasticity examples to run without errors.

It was necessary to reduce the amount of displacement for the axial example and increase the amount of displacement for the shear example.

It was also necessary to allow tensile yield and to change some PETSc settings.