Merge pull request #10 from RickEyre/npm

Create index.js file for main node exports.
Name -> text-encoding
"encoding.js" should require "encoding-indexes.js" if we're in Node.