delimit sections with markers

Store markers instead of positions in the BEGINNING and END slots of
section structs.  This makes it possible change text before a section
after it has been washed.  Once case in which this is useful is when
washing a section properly requires information that isn't available
until another section that textually comes later has been washed.

The BEGINNING marker is initially set to not advance when text is
inserted at the place it points to (or nothing would ever become part
of the section), but once washing is done it is changed to advance.
optionally append the number of children to section headings

Close #548.
Merge branch 'pr/count'
magit-insert-section: only show child count if heading ends in colon
add commands magit-diff-{un,}staged
bind magit-diff-staged in git-commit-mode-map
Merge branch 'pr/staged'
bind magit-diff-staged to C-c C-d

For consistency with other bindings.
bind magit-diff-staged in git-commit-mode-map
magit-refresh-diff-buffer: make WORKING and ARGS optional

Close #1015.
magit-version: fix typo in comment, remove another
magit-version: fix another comment typo
don't repeatedly refresh when evaluating magit.el

Or any other library that uses `magit-set-variable-and-refresh'
or `magit-set-default-diff-options' to set an option.
magit-describe-item: move definition

Move the definition of `magit-describe-item' to the new "Maintenance
Tools" subsection of toplevel "Miscellaneous".  This new section will
soon contain more such things.

Rename the subsection of "Acting" where `magit-describe-item' from, from
"Describe" to "Kill".  The name previously was wrong because it also
contained and still does, the unrelated `magit-copy-item-as-kill'.

Now that it has been mostly cleaned up, we should probably lose the
subsections of the second "Acting" section, and rename it to something
like "Item Commands".  But that's another issue.
loading magit.el now calls git-commit-auto-mode-enable

Loading `magit.el' now calls `git-commit-auto-mode-enable', unless
library `magit-log-edit' is on the `load-path', in which case that
is loaded instead.
magit-add-section-hook: new function

Add hook-manipulation function `magit-add-section-hook'.  It differs
from other such functions in that it allows inserting a new function
before or after an existing member of the hook list.

The intended use of this function are "buffer section hooks".  All
"buffer refreshers" have been using a hook to insert sections, for a
while now.  These hooks work great for user customization, but until
now modes that that need to insert additional sections (and that only
for some repositories) the old hook implementation still had to be
used.

This commit completes the new implementation the missing piece, the
specialize `add-hook' function.  The next commit will start using that
in all minor modes.  And the one after that will remove the old one.
magit-svn-mode: use magit-add-section-hook
magit-stgit-mode: use magit-add-section-hook
magit-topgit-mode: use magit-add-section-hook
magit-define-inserter: remove macro

Remove the macro `magit-define-inserter' which, until two commits ago,
had to be used to create functions that insert sections.  It now isn't
necessary anymore that each such function runs two hooks.