issue #3401: physics binding

1. add some function to lua manual binding code.
2. add lua physics contact and position/rotation test.