move app_manager exceptions into an exceptions file
pep8 whitespace
move remote app profile creation into a separate file
Merge pull request #1274 from dimagi/app-manager-cleanup

App manager cleanup