Fixed up the PulleyJoint

* Don't crash when initialized before creation
* Added defaulting to center of mass for local anchors
* Added defaulting of lengthA/lengthB to the difference between local
  anchors and their respective ground anchors