Fix NRE when grabbing a stateful part from a container.

Unlike Destroy(foo), foo.DestroyJoint() will crash if foo is null.
Merge pull request #108 from angavrilov/master

Fix NRE when grabbing a stateful part from a container.