Changed to six for dict
Changed print to print()
Changed print to print()
Changed print to print()
Merge branch 'aslakbergersen/topic-prepare-py3' of bitbucket.org:aslakbergersen/ufl into aslakbergersen/topic-prepare-py3

Conflicts:
	sandbox/profiling/compile_form.py
Changed except Exception, msg: to except Exception as msg:
Changed exec
Changed izip to zip (from six.moves import zip)
Removed unused imports from itertools
Added __bool__, changed obj.next() to six.next(obj)
Changed print x to print(x), no soft spaces so no need for from __future__ import print_function
Import reduce, chaged raise syntax
Changed set((x,y)) to {x,y}
Changed xrange() to range() and a_list = range() to a_list = list(range())
Changed print to print()
Fixed comma syntax
Changed idioms
Changed comma syntax and idioms
All tests run for python 2
Adding __hash__ when __eq__ is defined