refactor to use npm modules
selectionchange: handle regular directional arrow keys without modifier

Fixes: https://github.com/2is10/selectionchange-polyfill/issues/2
test: add quick little test.html exmaple page