Updating velocity templates to include all features of thymeleaf generation and some basic error handling for date helper