added test setup

using tape and tap-dot
added a few test cases
added Travis & badges
updated js-beautify
Merge pull request #84 from remixz/tests

added test setup, travis & badges