Fixes bug 938410 - Fixed example in signature_history documentation.
(no bug, doc only) Fixed anchors in the middleware documentation.

Conflicts:
	docs/middleware.rst
Merge pull request #1673 from AdrianGaudebert/938410-sig-hist-doc

Fixes bug 938410 - Fixed example in signature_history documentation.