1755 notifications should take templates

Added the option to pass a template for custom notifications as well as data.  Data is serialized so it can be accessed in the custom template.