cache date formatters on a per thread basis
resolve some generics warnings
use existing method
use constants and method from FrontBaseTypes

there is already a class that packages the different value types so use it instead. deprecating the old values/method
include changes from #517
Merge branch 'frontbase_patch' of https://github.com/darkv/wonder into upstream_master