Reset/Signin while signed in

no issue
- added redirect and notification to reset route
- added notification to signup route
Implementing HTML emails

closes #3082
- no more in-line HTML strings
- adding files for "welcome", "reset password", and "invite user" emails
- added mail.generateContent() to create HTML and plain-text email content
- refactored methods that trigger emails to send both HTML and plain-text emails
Removing "author" role-label

closes #3427
- adding conditional statement to now display users with role "author"
Merge pull request #3421 from morficus/issue-3082

Implementing HTML emails
Merge pull request #3439 from morficus/issue-3427

Removing "author" role-label
Test for invite users error

refs #3433
Remove email address from frontend

closes #2330
- added deletion email address from post.author in front end
- updated tests
- with some refactoring this could be done on API level
Add plural handlebars helper

Closes #3414

- Adds a helper which shows a select string deopending on the number of items provided

```
{{plural pagination.total empty='No posts' singular='% post' plural='% posts'}}
```
If `pagination.total` == 0, output 'No Posts'
If `pagination.total` == 1, outputs `1 Post`
If `pagination.total` ==  2 or more, outputs `2 Posts`

Credit to @sebgie for making this work.
Merge pull request #3440 from sebgie/notification-reset-invite

Reset/Signin while signed in
Merge pull request #3415 from PaulAdamDavis/plural-helper

Plural handlebars helper
Improve importer error messaging

closes #3274

- Ensure that validation errors are always handled by moving them into the
  importer
- Ensure that db errors are handled consistently across sqlite and mysql
- Change the errors to be output in a table, with a short failure notification
- Add tests for 003 importing bad files
Merge pull request #3441 from ErisDS/issue-3274

Improve importer error messaging
Add ability to create a 'home.hbs' template file for templates

issue #3409

- DRYs out the controllers/frontend a little by moving common functinoality
 into its own function
- adds ability to use home.hbs template file if it exists
- adds unit tests for this functionality
Fix Invitations

no issue
- added `invited-pending` when resending invitation
- promise chain was missing a return statement
- email error was masked and front end showed success notification
Fix lazy loading of settings

Closes #3281

- Add the missing return to populateDefault
- Wrap defaultSetting in [] when passing to readSettingsResult
- Populate default value of dbHash in parseDefaultSettings
- Modify migrations.init to only load databaseVersion for export_spec test
- Fix spacing in test util file and null reference error in test
- Uncomment user tests (but add .skip) and remove settings from testUtils.setup()
Merge pull request #3442 from sebgie/issue#2330

Remove email address from frontend
Merge pull request #3438 from hswolff/home-template

Add ability to create a 'home.hbs' template file for templates
Adding new {{title}} helper

closes #3389
Fixup signin and signout

No Issue
- Move authentication related handlers to the Application route.
- Switch Sign Out from a button to a link.  Use the signout route
  to handle invalidating the session and redirecting instead of
  an action from a button.
- Clear error messages on signin page when pressing log in button.
- Errors are now always shown on sign in screen and a success
  notification is shown after sign out.
- Update functional tests.
Ghost instance not needed in update check test

Refs #3424, Refs #3444
- API and test suite refactoring triggered a conflict with
  the way update_check_spec.js was written.  Using a running
  copy of Ghost is no longer needed in those tests so it
  was removed.