Added onCollision function to Entity

(overuse of bind ftw)