Specify appname in deploy message.
Extract deploy#package into a method.

This should make it easier for Graham to alter the package
method for SBT applications.