Restructured collision shape handling

collision shapes now are shared between entities
support for different masses
prepared to implement mesh collision shapes