rigidbody: Move "Enabled" checkbox out of rigid body panel header

Rename it to "Dynamic" to make it more obvious that it switches between
static and dynamic state.
Also don't show it for passive rigid bodies since it's redundant in that
case.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54723 954f8c5b-7b00-dc11-b283-0030488c597c
rigidbody: code cleanup

Use bpy.data.objects.new() instead of the object.add() operator.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54724 954f8c5b-7b00-dc11-b283-0030488c597c
rigidbody: Add option to create chanis for the connect operator

Connects objects based on distance.

Based on a patch by Brandon Hechinger (jaggz), thanks!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54725 954f8c5b-7b00-dc11-b283-0030488c597c