Add callbacks to adding and removing game objects

Added callbacks which you can pass along when adding or removing a game objects, so you can ensure that the objects are added to the game loop before continuing you logic.