node.js-ification

1. fix copyright in LICENSE file
2. update API to be more node.js-like
3. add additional dependencies to package.json
4. move the authorization code into the air conditioner module
5. add a discovery module
6. update air conditioner module and test file to use new API
7. add .gitignore
issue #1
event name typo
Merge pull request #1 from TheThingSystem/master

node.js-ification