Fixes #259 : Thymeleaf version 2.0.17 will return a null pointer exception when there is no request context.