Template fix attempt.
Adding fix for modernist theme, hooks to fix other themes.
Adding option to select page templates for category pages.