move stuff out of shared and into physics library
merge upstream/master into andrew/inertia
Merge pull request #3679 from AndrewMeadows/inertia

move code out of "shared" and into new "physics" lib