Added two new functions and Python 3 compatibility.

Added: tfm.exec.addJoint()
Added: tfm.exec.addPhysicObject()
Fixed: Python 3 compatibility.