Removes objectTypeModelMap to reduce circular dependency.

refs #2455

- also note areas where we still have lazy loading of modules.
- moves one lazy loading to non-lazy require.
Update Patterns Sass Formatting

Continues on from #4342

- Reformats the Sass to match our new style (property order, comments, & white space)
Posts view: some DRY.
Loads correct screen after author refreshes page in editor

closes #4415
- corrected logic around author check
- fixes a bug where it was possible to see editor for other author posts
Make tokens URL safe

Base64 encoding causes some issues when the token is URL encoded
as the = symbol is not a valid URL character. We replace any =
symbols with a - as this is valid in a URL, but is guaranteed
not to appear in a base64 string. This fix ensures that Ghost
password resets work with mail providers such as Mailgun that
add their own tracking redirects

closes #3872 (for real this time)
Fix updateConfigTheme method.

No Issue
- Fix exception being thrown when updateConfigTheme called before
  settingsCache fully populated.
- Remove unnecessary check in a conditional in the migration command
  builder.
Merge pull request #4401 from PaulAdamDavis/sass-cleanup

Update Patterns Sass Formatting
Merge pull request #4493 from jaswilli/settings-migration

Fix updateConfigTheme method.
Merge pull request #4488 from Gargol/issue-4415

Loads correct screen after author refreshes page in editor
Merge pull request #4490 from thisishugo/url-safe-tokens

Make tokens URL safe
Fix up single post routes.

No Issue
- Add local store lookup back to edit route.
- Prevent entry into route when an author is not the owner of a post
  even if model is passed in.
- Clean up references to pagination as there's no pagination going on.
Tags management api hookup

Ref #4248
- Added tags settings menu
- Added basic new, edit, delete, and save actions
- Show actionable edit buttons dynamically based on tag state
- Infinite scroll
- Closing the tag settings menu rollbacks your changes
- Removed not-yet-implementable code
Merge pull request #4482 from harrykiselev/patch-1

Posts view: some DRY.
Merge pull request #4489 from novaugust/tags-client-basics

Tags management api hookup
Merge pull request #4501 from jaswilli/routes

Fix up single post routes.
Close tag settings menu on transition

Closes #4504

- Adds a `willTransition` action that closes the tag settings menu when transitioning to another page
Adding comprehensive subdirectory route tests

closes #2230, refs #4477, #4476

- Test that subdirectories route correctly no matter how they're specified
Larger edit tag hit area

Closes #4505

- Increases the size of hit area on tags settings pages
- Comments out the styles for nested tags as these will need revisiting
Merge pull request #4091 from hswolff/remove-a-cd

Removes objectTypeModelMap to reduce circular dependency.
Merge pull request #4515 from PaulAdamDavis/tag-click-area

Larger edit tag hit area