Replace deprecated find_by in private messages
Correct syntax for pagination order in user activity
Helper function for titles and some explanatory titles for pages refs #374
Adding strong parameters to sites controller
Speed up creation of events in db:populate
Fix visual positioning of font-awesome icons after update to v4

refs #1205
List of spaces at home as list, but in the profile as thumbnails

With bf4967c0c36f we changed the list of spaces in the user's home to be
a list instead of thumbnails, but it ended up changing the spaces in the
user's profile as well.
Reverted the spaces in the profile back to thumbnails.
Tidied the task to start the resque
Use mail error handling in base class
Test and refactor user.pending_spaces
Make user.events a little better and add more tests
Tests for private_fellows and some refactorings for fellows
Feature test for user activities
Controller test for space create recent activity
Add new feature tests for visitor signing up
Make the migration RemoveMetadataFromRooms faster
No need to generate room options in the migration, it's done on the fly

This migration was taking too long to run and generating problem with
inconsistent BigbluebuttonRoom's. Since the room options are generated when
first accessed if they don't exist, we don't really need to create them in
the migration.

The inconsistencies in BigbluebuttonRoom's will be solved later.

refs #987
Refactor failing migration after rails 4

Was failing because it tried to use Space#save, that tried to also save its
associated BigbluebuttonRoom, that failed for having the attribute #record
that's invalid in rails 4.
Had to use fake models instead. Couldn't use raw SQL because we also need to
generate the images according to CarrierWave, and it would not be ideal to
do it all manually.

refs #987
Fix the migration of attachments to a private folder

Was moving not only the attachments but all the logos from their
folder to the private folder. The logos should be kept there.

refs #987
Fix migration of events to set updated_at and created_at

Old events were replaced by events from MwebEvents, so they were all
created again. They were however all having the created_at and
updated_at values set to the time the migration ran, instead of
the time when the former event was created/updated.

refs #987