Fixes missing blocks when defined in a reference instead of the <block> directly.
Cleaned up EsiController::_getEsiBlock.
Re-added missing events.