Fix integer division, ord, unicode bugs

Changes similar to those made in ue9.py in this commit will need to be
made to the other models too to get them to work.