Add a grunt task to build and upload a commands.json file

This is the first step towards deprecating the API