Add basic functionality to archive apps

Just a separate table for now.
Add application edit/show of archived status
Unarchive an application on deployment

When a deployment is created manually or via a POST (eg from the
deploy machine), automatically mark the application as
archived: false.