Added new builtin function to ease the use of mail templates in save actions, moved MailTemplate
entity to core, added tests for the new implementation.
Merge branch 'develop' of github.com:/structr/structr into develop