Merge pull request #6 from RickEyre/npm

Add package.json file and organize the file structure a bit.
Create LICENSE.md
Wrap indexes in module-ish IIFE
Make encoding.js work without indexes
Create index.js file for main node exports.

Also fix up some of the values in package.json to reflect changes.