Correct authorization for join_request actions
Views and controllers to restore join requests behavior
Refactor and add some join_requests tests
Some tests and pending tests for join requests
More tests for join_requests controller and some fixes
Tests for join requests invite and create?invite=true and correct some failures
Slight refactor join requests controller refs bug #1252
Send email after join_requests are created with some tests refs #1252
Merge branch 'branch-v2' into bug1252
Improve the view join_requests/show, make it simpler

It should only be displayed for users that received an invitation, so I could
simplify the page a lot, to show a simple text and buttons to accept/deny.

refs #1252, refs #838
Tests for join_requests#show and improvements based on feedback on the pull request
Merge branch 'branch-v2' into bug1252
Show the comment written by the introducer in join_requests/show

refs #1252
Redirect users when showing processed join requests, don't create requests for members
Don't delete join request when user denies it
No more email only join requests
Merge branch 'branch-v2' into bug1252

Conflicts:
	spec/spec_helper.rb
Rename Space#pending_join_request_for? for consistency

Space has separate methods to get join requests and invitations, but
#pending_join_request_for? works for both join requests and invitations, so
renamed it to be more consistent.

refs #1252
Small improvement in strings for join requests

refs #1252
Remove button for admins to accept invitations they sent themselves

When a user is invited to a space, only the user should be able to accept
or decline the invitation. The admins of the space had a button to accept
the invitation, and this button was removed.
Doesn't solve the problem completely, but helps.

refs #1252