Changed load order and system.

- Game modules and backends are moved to extensions.rv to be loaded early in
  the initialization process.
- A 'game.loaded' event will be emitted when the game and its settings have
  been loaded. Every module can use this to do more initialization.
Merge upstream.