bugfix in loops::generateLoopForJacHes() when there are no elements of jacobian and hessian to be evaluated
bugfix in the priorities of the dependent variable matching between different equation patterns; minor reorganization
improved pattern test code
added some benchmarks for pattern detection