feat(controller): set app dir in etcd

If you add or remove the app from the controller, the corresponding etcd
key is not modified. This ensures that the etcd keyspace is created/removed
when an app is modified in the database.