Added map functions (need heavy testing).
Fixed small bug in PTR.tpl.php

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