Change the customflatpages to generic templates
WIP
-move codemirror to customflatpages
-add list and delete functions.
-create pages on the fly
Fix email settings.