More tensor_mechanics cleanup

Deal with signedness, perform range checking on index parameters, request the correct type of tensor material property etc. #3472.
Same range check here