Custom date templates and date detector changes

Update on #214 with recent changes.

Plan is also to look at @grooverdan's suggestion of the date pattern to form part of failregex, but just wanted to update the changes as is to check all was working and get comments given the recent sample test case changes.