@schneem's refactoring
Revert "@schneem's refactoring"

This reverts commit e627af5398fabb536ac5e363560498ec73d3c61c.
cedar-14 migration fixes

* remove old stack aware cache dir when migrating stacks
* only copy cache dir on migration if stack isn't going to change
* only load bundle cache if it's an older app