trim leading and trailing dashes in heroku app names
Merge pull request #426 from G5/heroku-slugs-76321508

trim leading and trailing dashes in heroku app names