Add package_json grunt task to update package.json

package.json contains a list of locale files, that was manually updated until
now. This PR adds a grunt task to update package.json and registers it to run
on release.

fixes #1766
Add a newline at the end of component.json