found other places where revert broke persistence
removed unreachable code paths in prime script, and storing apps in /opt
Merge pull request #643 from shatterednirvana/persistence-unreverts

found other places where revert broke persistence
Merge remote-tracking branch 'org/testing' into store-apps-in-opt
creating apps directory when appcontroller starts
Merge pull request #644 from shatterednirvana/store-apps-in-opt

removed unreachable code paths in prime script, and storing apps in /opt