Make compatible with Marmalade Free license

* Removed UserAgent extension
* Added support for sub shapes to  shape and physics system