Add rename support to the publish command

usage: apm publish --rename <new-name>

This isn't the greatest but it works.