More tensor_mechanics cleanup

Deal with signedness, perform range checking on index parameters, request the correct type of tensor material property etc. #3472.
If the index is truly in the range (1,2,3) you should use this expression:
index_i >= 1 & index_i <= 3