[#538] small redesign of the collision management

following discussion here :
https://github.com/melonjs/melonJS/commit/d5dc2aab4e640eafc8e80e634bd1e6
8ea37733db