app: unexport deploy

This type is not used outside the package.
api: fix tests
app: rename DeployApp to Deploy

Related to #458.