Add layout_load_before event dispatching

Add layout_load_before event dispatching to ESI controller, so all extension can add their handles