cleanup library headers
cleanup doc-strings
cleanup comments
magit-wip-save: use file's repository, not default-directory's

Use the `buffer-file-name' instead of `default-directory' to located
the repository containing the file being saved.  The user could have
changed the `default-directory'.  Also `expand-file-name' the
`buffer-file-name' (in addition to using it's `file-truename'.

Conflicts:
	magit-wip.el
magit-wip-save: do not attempt to save gitignored files

Previously an attempt was made but git-wip failed to save the change.

If there is a ignore rule that matches the file being saved but it is
actually being tracked or even just in the (real, not the tempory one
used for the wip branch) index then it *is* being saved successfully,
as before.

Conflicts:
	magit-wip.el
Merge branch 'maint'

Conflicts:
	magit-wip.el
Merge commit '9d1e3e209f62c0f7aaa1790b12320393722f042d' into tarsius/strings