Add Template::theme_get() to get theme name
Update core files

Will now perform template specific actions before the message
Update lib Message to use themes
Merge branch 'develop' into feature/acl