Added documentation to most template functions.

Signed-off-by: Alexander Kastius <alexander.kastius@student.hpi.uni-potsdam.de>
Merge branch 'racktables_template' of https://github.com/acidix/racktables into racktables_template