updated example code to match new API
updated copyright year on src
updated node dependencies
finished adding karma tests
Merge pull request #2 from mdomi/feature/karma-tests

Feature/karma tests