added format and pattern  support for date fieldtype + fixed nullpointer when TransportClientFactoryBean configuration is java config only.