Modify build script for Heroku

Gradle build scripts deployed on Heroku require a 'stage' task. Make stage task dependent on shadow for building the dw app.

Add procfile for deploying to Heroku.

Add codenarc and cobertura.

Fix codenarc violations.