Update template.class.php

Spelling mistake 
ListAvaliableTemeplates should be ListAvaliableTemplates
Merge pull request #32 from PS2Guy/patch-1

Update template.class.php