Store groups before initiating a deploy.
fix app ids on update
Persist apps before deploying them so that they can show up in the UI
Merge pull request #459 from olix0r/issue-458

Issue 458 -- Store groups & apps before executing updates