Fix an issue with the pluginapi tests
Fix an issue with a series_premiere test
Add system for creating custom validation error messages
Add generic render function to utils.template