Remove extraneous comment on tests
Refactor controllers to use cancan to load spaces and restrict access to disabled ones
Copy paste field, with modal using only javascript

Using the new helper function copyable_field
Ability for admins to delete spaces

Now the spaces controller supports destroy (to actually delete) and disable (to disable like the old destroy action did)

Actions are authorized by cancan and new tests have been added. The admins of a space can disable it, but only an admin can destroy
Space count in managing wasn't counting disabled spaces
Initial modifications to change the rooms permissions in spaces.
Changed the web conference permissions in spaces

Formerly the permissions of the spaces were as follows:

 - All members of a space will be moderators in its web conference room;
 - All members of a space can start a web conference in the space;
 - All members of a space can stop a web conference in the space.

Now this is the new set of permissions:

 - Only administrators of a space and the person that started the web conference will be moderators;
 - All members of a space can start a web conference in the space;
 - Only administrators of a space and the person that started the web conference can stop the conference in the space.

Required the new version of the bigbluebutton_rails gem.

Refs #1148
Small fix in frontpage/show for when registration is disabled

refs #1229
Improve the visual of lists of events

Both in mweb_events/events/index and in space_events/index.
Now the lists use the "list-text" style, not "thumbnails" anymore.

Also, 'content-block-footer' now has no border nor background color. To use
the old visual there's a new class 'content-block-footer-fancy'.
Prevent test shibboleth data from leaking in production

Just made sure the test data will only be added to the session in
development mode.
Add new attribute "principal name" to shibboleth fields

It's an attribute used by shibboleth to store the user's unique identifier.
Can be used in the application to get an identifier for the user or the user's
institution. It is required, otherwise the login will fail.

Also removed the default attribute names that were used in case they were
not configured in the website. Now they will always have to be configured.

refs #1230
Fix tests after d49e73238ff492

refs #1230
Merge remote-tracking branch 'origin/branch-v2-copy-paste' into branch-v2

Conflicts:
	app/views/spaces/_latest_users.html.haml
A few improvements and cleanup in the copy-to-clipboard modal

All small changes, mostly to make it look a bit nicer.
Merge remote-tracking branch 'origin/branch-v2-delete-stuff' into branch-v2
Overall improvements on disabling and removing spaces

Better icons for disable/enable, clearer messages and confirmations when a
user is disabling/enabling a space, and a general code review.

After merging branch-v2-delete-stuff

refs #1153
Better default page shown when a user logs out of a conference

The page was still in the old format.
Refactored it, converting to HAML and making it look good.
Now it also has a timer to automatically close the window unless the user
asks it not to.
Redirect correctly to previous page on login

refs #1231
Update mweb_events to latest version
Fix setting the record flag in webconfs, broken by c66a9a41ab

Wasn't considering the Site's flag "webconf_auto_record" as it should.