Updates to readme.
Added unit tests (and fixed bugs!)
Made core code nodelint compliant.
Updated readme with info about nodelint.