Adding package.json and module.exports.

I made libtess.js node/npm compatible for the sake of dependency management and server side usage. It lives at https://npmjs.org/package/libtess