Added CustomGameData pointer to flatlib containers.

Note: Also added a custom gamedata object to the game code. Split some
other logic into it's own container. Mainlt deltatime tracking.