This PR updates some things in the NPM/JavaScript part that have been wrong or missing for quite a while.
Added an .npmignore that excludes some files that are not needed from being published to NPM (This can probably be extended with parts of the vendor folder in the future)
Renamed "Javascript" to "JavaScript"
Added typings for TypeScript
Changed the license inside the package.json to MIT
This PR updates some things in the NPM/JavaScript part that have been wrong or missing for quite a while.