Made template location more consistent

prereg templates are in prereg, and app templates are in directories named for
their apps. (Shocking!)