[Core] Fixes: AjaxRenderListener is attached too late.

* The listener is now attached so, that it is invokes between InjectTemplateListener and
  InjectViewModelListener