Correct a typo in magit-list-remote-branch-names

match-string want an integer as first argument.

Replacing the "and" by a "when" because the second value is not a truth
value.

Added also some test on the different function that should list branch.
Merge pull request #1407 from vanicat/t/typo-in-magit-list-remote-branch-names2

Correct a typo in magit-list-remote-branch-names
fix 28fb825f09ad239bcdb8e37c3d004390135173c4

That commit actually did the opposite of what it was intended to do.
magit-section-siblings: return only siblings
magit-refresh: drop BUFFER argument
magit-log-file: cosmetics
magit-log-maybe-show-commit: cosmetics
improve how a section is selected during buffer refresh

Do not attempt to restore `window-start' and do not fallback to
restoring `point' in case no successor section can be found.

Instead handle a few special cases (mostly related to un-/staging)
explicitly.  And if everything else fails then simply go to the
beginning of the buffer (which, while not perfect, is a better
fallback than the old "scroll everything off screen" :-).

In other words, don't try to be smart, just get the work done.

Rename `magit-mode-refresh-buffer' to `magit-refresh-buffer', and
`magit-mode-refresh-buffer-hook'to `magit-refresh-buffer-hook'.
This reverts earlier renames...  Define an obsolete variable alias,
maybe that way nobody notices :-)
Merge branch 'n/refresh-refresh' into next
magit-insert-stashes: insert full stash@{N} identifiers

which makes this information more prominent.  In return use the
same face as for hashes, which means (provided the theme follows
the recommendations) that it becomes less prominent again.