template: documentation and formatting

* Adds documentation entry for invenio.ext.template.

* Fixes the kwalitee problems.

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>