move physics functions to entity

See #12
move physics tests to entity suite

See #12.
fix headers

See #12.