Refactor RigidBodySystem.onUpdate to remove _getCollisionFlags and pool contact results

Now that all bodies are in groups should be no need  for collision flags
All ContactResults are now grabbed from an object pool to replace allocations.
Merge pull request #101 from playcanvas/feature/collision-layers-update

Refactor RigidBodySystem.onUpdate to optimize