Get the version from the package.json and inject it into version.js, when building crafty.js file.
Merge pull request #587 from kevinsimper/injectVersion

- Get the version from the package.json and inject it into version.js
- Use version.js to return version number in core.js