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
Improved test coverage of theme helpers.

refs #246
Set correct HTTP status code on error

closes #1055
add a `target` arg to `grunt test-functional`

The idea here is to slightly speed up test development by allowing you
to specify a single test file to run.
Keep the status code generate by connect in case of error.

The status code generate by connect/express in case of error was always
replace by 500 status.
Update package.json

Update grunt-contrib-watch
Allow themes to provide custom error template.

fixes #1212, #1213
Fix CSRF deprecated warning
fixed bug where an undefined variable could be dereferenced

which could cause the server to choke.
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
Merge pull request #1121 from abe33/fix_user_image_border_in_settings

Fix style issue on user-image on Firefox and Opera
Merge pull request #1141 from halfdan/246-helper-tests

Improved test coverage of theme helpers.
Merge pull request #1152 from jgillich/status-code

Set correct HTTP status code on error
Merge pull request #1226 from halfdan/csrf-token

Fix CSRF propery deprecated warning
Use less markup for links