add package.json
change crypt3 to optional dep
port utils
port tests
setup travis
add .editorconfig
readme draft
fix tests