Use strain rate for viscosity mesh refinement.

The viscosity refinement criterion was so far only working with material models, which did not check for strain_rate.size() == 0. This was introduced at the creation of the viscosity criterion by copying from other plugins and is fixed now. The test checks for the number of dofs during refinement.