Fix Geom<Ord> issues.

Conflicts:
	hermes2d/src/forms.cpp
	hermes2d/src/quadrature/limit_order.cpp
Loads of optimizations.