[Engine] Fixed NRE in HookRunner.Init() when used from frontends with remote engine
[Frontend] Added FRONTEND_VERSION environment variable for comand hooks