Add customer-facing pages and federated email templates

Move email templates to a row-based model (to make room for plugins)
Add a ft (filetype) flag to the file model to allow for files not attached to tickets (like custom logos!)
Allow for the definition of customer-facing pages!