update README
build and test deps
improved build file
adding tests
refactor lib to pass tests
rename dist dir to browser, keep both minified and unminified browserify builds there