replaced spray-caching with ehcache
made dedup size settable at runtime