Updated GearJoint for consistency

It wasn't crashing, but this just makes the creation style the same as
the other adapted joints.
Fixed up the MotorJoint

Don't crash when setting linearOffset before joint creation.

Also, when linearOffset and angularOffset are set before joint creation,
their values now actually take effect whereas before they were ignored.