feat #984 noder-js: Dynamic dependencies restoration

Classes `aria.utils.History` and `aria.templates.Template` had dynamic dependencies that had been turned into static ones.
This commit creates a loader plugin for `aria.utils.History` and make the contextual menu class asynchronous for the `aria.templates.Template` class.