Don't duplicate project name in the title
More sensible wording
Refactored common template code
Cleanup: use 2 space indentation
Moved some code to the base admin template
Silent empty content/action blocks in pages other than overview
Refere to the `name` property for consistency
Properly sort array of integers

Otherwise we would end up randomly having units stored in wrong positions.
Allow specifying an arbitrary page for `fetchPages`
Use unit numbering instead of page numbering

Fixes bug 2215.
Use js-friendly property names