Merge pull request #254 from sh1ps/master

Added moderation and subscription_mailer folders to view generator
Use I18n.t for received_reply text.
Pass Capybara.default_host to HTTP_REFERER to allow the test to reveal actual failures.
Made logic clearer.

Where using if ! && ! it makes more sense to use unless.
We're setting flash[:error] so best check that instead of flash[:notice]
Updated install_generator to use railties:install:migrations

* Removed template migrations
* Added user migrations with user_class ref 'sqlite3'
* Added forem user migration specs
* Removed old template specs, now covered by migration specs
Removed Rails auto-generated migration comments
Move check for user auto subscribe ability into own method rather than creating a proc for it in Post model

This prevents a potential issues where a migration may try to save a post that is linked to a User object that *doesn't* respond to forem_auto_subscribe
Freeze cancan to 1.6.7 because Mr. Bates made a boo boo
Fix regression caused by @46345c4, where last_post_at on a topic was only being set if the topic's last_post_at was nil

obviously not ideal
Freeze cancan to 1.6.7 in Gemfile.lock, and bump simple_form to 2.0.2
Only install forem migrations when installing
Really long ternary statements are the *worst*
Added Swedish localization
Merge pull request #257 from kl/master

Swedish localization
Remove comments from sign_in_helpers
Cleanup whitespace inside posts_spec
Fixed issue where last post on topic listing did not accurately reflect actual visible last post
Build approved post when testing deleting posts in topics feature
Added support and documentation for decorators