Package as NPM module

Add compile script
Add test script
Add Travis config file
Support only Node >= 0.10

Refactor package.json
Add Travis badge to README
Add dependencies update check to test command