Makefile: use $(RMDIR) in magit-$(VERSION).tar{,.gz} targets

The "magit-$(VERSION).tar.gz" and "magit-$(VERSION).tar" targets should
remove the "magit-$(VERSION)" directory use $(RMDIR) instead of $(RM).

See commits d8c95a9d and 04e65579.

Signed-off-by: Pieter Praet <pieter@praet.org>
`magit-apply-hunk-item*' call `use-region-p' only once

Commit 83dac351 replaced `magit-use-region-p' with `use-region-p',
but in doing so, caused us to call `use-region-p' twice.

Also, the function might at some point in the future be changed to do
stuff which alters or unsets the region between the first and second
check, which would result in a bug:  Defensive Programming FTW.

Signed-off-by: Pieter Praet <pieter@praet.org>
`magit-quote-curly-braces': fix case-insensitive matching

To make searching and matching case-insensitive, we have to set
`case-fold-search' (as opposed to `case-fold', which is a
non-existent variable) to t.  I'm guessing this went unnoticed
because `case-fold-search' is set to t by default.

Signed-off-by: Pieter Praet <pieter@praet.org>
`magit-run-git-gui-blame': s/magit-start-process/start-file-process/

The "minimal-emacs" branch removed a number of compatibility functions,
among which `magit-start-process', replacing it with `start-file-process'.

Between the time that branch was created (commit 83dac351) and merged
(commit b872cbf7), `magit-run-git-gui-blame' was added (commit 007da202),
which also makes use of `magit-start-process', and this wasn't corrected
when merging in the "minimal-emacs" branch.

Signed-off-by: Pieter Praet <pieter@praet.org>
`magit-run-git-gui-blame': s/Git Blame/Git Gui Blame/

Rename subprocess to "Git Gui Blame", to be consistent with
`magit-run-git-gui'.

Signed-off-by: Pieter Praet <pieter@praet.org>
`magit-run-git-gui-blame': pass options *before* rev and filename

When running `magit-run-git-gui-blame' and selecting the file that is
being visited in the current buffer, git-gui(1) is supposed to scroll
the view to center on the line number at which point currently resides.

For this to work, we need to pass the '--line=' option *before* the rev
and filename.

Signed-off-by: Pieter Praet <pieter@praet.org>
.mailmap: add "Noam Postavsky"

Committed as "npostavs" in 94fddadd, but as "Noam Postavsky" in
fc6f4814, which would cause duplicates in the "AUTHORS.md" file.

Signed-off-by: Pieter Praet <pieter@praet.org>
AUTHORS.md: auto-generated using 'make authors'

Signed-off-by: Pieter Praet <pieter@praet.org>
INSTALL.md: add link label def for `git-{commit,rebase}-mode'

Commit e2f9c456 added reference links for `git-commit-mode' and
`git-rebase-mode', but forgot to add the link label definition.

Signed-off-by: Pieter Praet <pieter@praet.org>
`magit-create-branch': simplify

I added the `magit-create-branch-behaviour' option back in 2011
(commit 3cf57646), but made the horrible mistake of leaving the
original behavior ("create branch at HEAD") the default.
See e.g. this thread [1] from February 2013 on the ML.

Instead of making 'at-point the default, let's just get rid of
the option altogether and always try to find a rev at point first.

Note that I'm intentionally *not* using `magit-default-rev', as
that uses `magit-guess-branch', which is very likely to offer
the *previous* value of HEAD instead of the current one.

[1] mid:"87k3q9pm73.fsf@debian.org"

Signed-off-by: Pieter Praet <pieter@praet.org>
Merge pull request #837 from praet/git-gui-blame

Git Gui Blame fixes
Merge pull request #832 from praet/doc-git-modes-link

INSTALL.md: add link label def for `git-{commit,rebase}-mode'
Merge pull request #833 from praet/makefile

Makefile: use $(RMDIR) in magit-$(VERSION).tar{,.gz} targets
Merge pull request #834 from praet/use-region

`magit-apply-hunk-item*' call `use-region-p' only once
Merge pull request #835 from praet/cygwin-matching

`magit-quote-curly-braces': fix case-insensitive matching
Merge pull request #838 from praet/authors

update .mailmap and AUTHORS.md
Merge pull request #841 from praet/create-branch-cleanup

`magit-create-branch': simplify
* magit.el (magit-quit-window): Fix Issue #825, reset
  magit-previous-window-configuration and not
  magit-restore-window-configuration.
* magit.el (magit-buffer-switch): Fix Issue #825, check all magit
  buffers.
(magit-quit-window): No need to restore magit-previous-window-configuration.
* magit.el (magit-buffer-switch): Keep fixing Issue #825, check if
  window is visible before poping to magit buffer.