Physics updates

Added support for
* density
* friction
* restitution

And updated examples with new physics demonstration.
Also, did some small performance improvements and moved all
scripting-related classes to scripting package.