Fixes #3411 .  Corrected uo4.i

Put some error-checking stuff in RichardsMaterial so this won't happen again
and also some LIBMESH_DIM instead of "3".

Also slightly altered RichardsSeffPrimPrimeAux.C to avoid a comparison
between signed and unsigned, which was not the cause of this problem, btw.