Check if any social providers are enabled.
SHow group name in access granted email

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Refactor js behaviours helpers

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
 Merge branch 'fix/social-account-block' into 'master'

Fix Social Account Block

If you have omniauth enabled, but don't have one of the "Social" providers enabled (GitHub, Twitter, Google), the "Social Accounts" sections shows up, but without icons. This occurred when I was testing Shibboleth. This fixes the issues by checking if there are any `enabled_oauth_providers` rather than if just `Gitlab.config.omniauth.enabled`. Not quite sure how to implement a test for this, but it works :).
Added rake task to add limits back in mysql
Fix error with reopened merge request not properly reloading

If you reopen a Merge Request and then try to update the source branch
it won't properly reload the code since the "reload_code" method still
checks if the MR is "opened" and not just "open" (which includes reopened)
Changed limits to a higher order
Merge pull request #6510 from jvanbaarsen/rake-task-for-limits

Added rake task to add limits back in mysql
Add spinner in favicon

Sometimes the site header is out of view, so when the user clicks some
long-loading link (e.g. large diff page), and the spinner in the header
starts spinning, user doesn't see it. So basically nothing happens for
them, which is confusing (is website working at all?).

This makes the favicon being replaced by a spinner (in user agents that
support this) when the header spinner is shown, and default favicon
restored when the header spinner is hidden.