Consolidate middleware and crashstorage docs

Fixes bug 1040295
Fix api documentation link
Merge pull request #2227 from bramwelt/fix-bug-1040295-api-docs

Consolidate middleware and crashstorage docs