Constrain urn based on heroku max app name length

Heroku has a max app name length of 30 chars. We constrain this when we create the apps, so we need to here as well.