add 'Link' header for API response
Add button for removing source branch for merged MR's.
Changed sudo by su -c

The sudo command needs a tty to run. If you put this file on a CentOS 6, for example, it will not run in the host startup process. Instead, the 'su -c' runs the command apart if it has or not a tty.

I tested this change in a fresh install of gitlab on a CentOS 6.5 with successful.
Fix searching by extern_uid for LDAP to be case-insensitive
Also expose username for the /discover endpoint

Fixes #6328
Update merge_request_observer_spec.rb
Add button for toggling inline comments in diff view.

This is useful when there are many comments and they're becoming a distraction when trying to read the diff.
Remove dir prefix and suffix from tests inside dir.
Fix another instance of "created at"

Replace it with "created on".

Change-Id: Ibd26bf82d2e64f142a4f3be6da7701e5b035602f
Don't send an email for "mentioned in" notes

Currently, an email is sent every time a mentionable is referenced
by an issue, a commit or a merge request: if I comment "This MR is
related to #5", watchers get one email for the comment, and another
one stating "Issue #5 was mentioned by issue #13".

This is annoying — but the biggest issue is when pushing an existing
branch. Every issue referenced by commit messages in this branch will
get a new mention (which is fine), and dozens of emails will be sent
for all these new mentions (which is not).

This commit fixes the spam by avoiding to send an email when a new
mention is created. In most cases the email notification for the
mentioner is enough.
Fix extra space added in beginning of commit message

Removes extra space in merge commit messages. This seems to have been
introduced by the functionality added in 38d8d749d which allows a user
to change a merge commit message.
Add support for relative submodules
fixed regex to match url pointing to a user repo
Use tags to do minor updates of GitLab
Update user_management.md

Believe the intention was to say 'groups' instead of 'projects' here.
simplify link url
Fix registration error info typo
Added description parameter support to Create and Update MR API endpoints (issue-110).
Add .adoc file extension for AsciiDoc

Add .adoc file extension for AsciiDoc as it's a very popular extension to use and the one recommended by the Asciidoctor project.
Database doc changes to address #2412 and #6451.