refs https://github.com/TryGhost/Product/issues/3580
refs https://github.com/TryGhost/Team/issues/3349 Tidies up the remaining major pieces which were not covered by tests. Extends the existing test patterns, although the API mocks are getting a bit unmanageable.
apps/
refs https://github.com/TryGhost/Toolbox/issues/594 - we're moving all the external apps into a different folder so we can keep `ghost/` for internal code