move concerns to the model/concerns
Factor out mocks
Merge pull request #2279 from fantasticfears/concern

move concerns to the model/concerns
FIX: in multisite setup, links to the current forum are whitelisted when looking for spam hosts
FIX: don't onebox hidden posts
FIX: deactivated users shouldn't be able to log in
oops, fix broken current_user_spec