Automatically add box2d contact listener