Rake json version

on production, there is a version.json file with git commit hash data so that you can be sure what version is deployed.

This PR creates a rake task 'rake json:version' which creates a similar one for development envronment.