Cleanup of utilities from common.py and some from uflacs now grouped under
several files in ufl.utils.*.
Six module import fixes.
Make use of six.moves.xrange as range consistent.