Adding JS hooks for init params and runtime info

This adds the `PluginHost.HOOK_PARAMS_LOADED` and `PluginHost.HOOK_RUNTIME_INFO_LOADED` JS hooks, and removes a duplicate check for `params` in `backend_sanity_check_callback()`.