Update Patterns Sass Formatting

Continues on from #4342

- Reformats the Sass to match our new style (property order, comments, & white space)
Improvements to the permalinks UI

Closes #4454

* Relies on Flexbox more heavily
* Adds JS to simulate how it should work
Posts view: some DRY.
Merge pull request #4469 from PaulAdamDavis/permalink-improvs

Improvements to the permalinks UI
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
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 branch 'master' of https://github.com/TryGhost/Ghost

Conflicts:
	core/client/assets/sass/patterns/buttons.scss