Accept the full set of "magic words" that close github issues.

List taken from:

https://github.com/blog/1386-closing-issues-via-commit-messages
close, closes, closed, fixes, fixed
Switch over to using "Closes" for all output.
Code cleanup: move the '.' to its point of use.
Remove all newlines preceding last line of "Closes" directives.