Improved entity parents

Entity parenting and collisions were once again improved.
The optimizations include:
* Shapes of child entities are added to the parent entities' shape, so
when a platform moves up, the player doesn't get into the roof.
* Weights of children are added to the parent's weight.