cleaned up all javascript specs for better readability
added more tests & documentation to the BBCode component
added option to enable/disable login buttons individually
We don't need `content` here because it uses an ObjectController as a proxy.
Saved ~46KB through image optimization.
Merge pull request #288 from ZogStriP/test-readability

cleaned up all javascript specs for better readability
Merge pull request #289 from ZogStriP/bbcode-component

added more tests & documentation to the BBCode component
Merge pull request #298 from nverba/login-buttons

added option to enable/disable login buttons individually
refactor User and TrustLevel a bit

* rename `User#password_required` to `User#password_required!`
* emails with "i" @ something are a special case as well
* get rid of `self.` and returns where possible
* prefer "unless a" instead of "if !a"
* `unread_notifications` without manually iterating
* introduce `User#moderator?`
* introduce `TrustLevel#valid_key?`, `TrustLevel#compare`, and
  `TrustLevel#level_key`
Merge pull request #296 from goshakkk/refactor-user

Refactor User and TrustLevel a bit
Add X-Forwarded-Proto to nginx config to support SSL. Fixes #293