[ticket/12784] Allow the extensions to add a custom auto loader

https://tracker.phpbb.com/browse/PHPBB3-12784

PHPBB3-12784
     * @param Event $event The event to pass to the event handlers/listeners.
     *                          If not supplied, an empty Event instance is created.