updated license, dependencies, scripts, repository
removed \n at EOF
changed to bittorrent open source license
refactored encode code into a returned switch

returning early gives a big performance boost
added unit testing
added a coffeescript bootstrap
added benchmarking