Tidying while reading

Avoid deep indentation, use more levels of headings instead.
Some more doc tweaks
Tidying while reading

Indentation fixed on one section too.
Merge pull request #1461 from jean/master

Tidying while reading
The resolve_user function returns the user's full name and email regardless of authentication method.
Removed resourcebase signals
Update the body element's padding-top value to reflect the smaller navbar.
Fix the spacing between buttons on the Document detail page.  Fixes #1451.
Fixed maplayer saving in models
Fixed failing map tests
Add a threshold to identify bounding boxes too tiny for thumbnailing