Added some basic Template level security to ensure people can only see Templates in Application lists that they a) have explicit permission to see b) that are public and c) are part of the application currently being view;