Fix #896 - work around errors in pagination under Postgresql.
Fix style issue on user-image on Firefox and Opera

On both Firefox and Opera (OSX) the user image badge in
the settings page wasn't displayed.
Also, on firefox the badge overlay didn't have the proper size.

I don't know if there's a specific use case requiring a `display:
table` instead of a plain `display: block` but that was failing on
Firefox and Opera.

Using a block instead seems works perfectly (at least on Opera, Chrome,
Safari, Safari Mobile IOS7 and Firefox) regarding the badge size issue.

On Opera, though, the border radius wasn't applied properly to the
image. Adding a `border-radius: 100%;`fix that.
Add featured class when post is featured

fixes #1112
Save all settings when the logo or cover save button is clicked.

Fixes #1017.
- Call saveSettings for cover and blog logo photos
- Call saveUser for profile and profile cover photos
Posts can now be featured by clicking on the star icon

fixes #1111
Fixed intermittent test errors

Fixes #1124

- Updated default mocha timeout to 15 seconds. Any future tests that
depend on a timeout (and thus might be better off with a lower value)
can override the default setting which is now 15 seconds.
- Removed test-specific timeout overrides for the mocha tests.
- Fixed the editor/splitbutton tests to wait for the appropriate
selector instead of assuming the dom has been updated immediately.
Should resolve intermittent timeouts when checking the splitbutton's
applied classes.
Improved test coverage of theme helpers.

refs #246
Set correct HTTP status code on error

closes #1055
Fixed typos
Correct spelling of GitHub

Signed-off-by: Jacques Marneweck <jacques@powertrip.co.za>
Bump express and express-hbs to latest versions

closes #875, issue #876, issue #830
Merge pull request #1208 from jacques/master

Correct spelling of GitHub
Merge pull request #1199 from pborreli/typos

Fixed typos
Fix CSRF deprecated warning
fixed bug where an undefined variable could be dereferenced

which could cause the server to choke.
Merge pull request #1088 from jacobian/postgres-fix

Fix #896 - work around errors in pagination under Postgresql.
Merge pull request #1133 from gotdibbs/Issue1124

Fixed intermittent test errors
Merge pull request #1051 from nason/settingsResetOnImageUpload

Fixes #1017. Save all settings when the logo or cover is saved
Merge pull request #1117 from halfdan/featured-posts

Add featured class when post is featured
Merge pull request #1119 from halfdan/featured-post-button

Posts can now be featured by clicking on the star icon