Merge pull request #8 from nisaacson/master

Mocha tests and global leak
added Travis-CI build status and David dependency status badges to the readme