Remove cnForm::buildAlphaIndex() as it is no longer used.
Small optimization when retrieving teh category tree.
Add error suppression to ini_set() in class.upload.php
Cleanup and improve the legacy template scanner.

Closes gh-149