added editorconfig
added html reporter and logLevel to karma conf.
added tests for shortcutRegistry and shortcut directive.