Initial Python 2 and 3 modifications:
* replaced <> by !=
* replace `a` by repr(a)
* replace IntType, TupleType, etc. by int, tuple in type testing
* replace string.strip(a) by a.strip(),
  same for string.split() and string.join()
* replace def function(arg1, (arg2a, arg2b), arg3) by
  def function(arg1, args, arg3) followed by arg2a, arg2b = args
* replace print a by print(a)
* replace map() by list comprehension when necessary
* looked at https://bitbucket.org/Milla/fonttools
* import print and division from __future__ as Milla
* changed some print and / to // as Milla
* use argument named element for xml functions as Milla