APF-1454: Changed to use dependency injection instead of lookup from applicationContext.
APF-1454: Reduced the number of hibernate and jdbc properties files. Tapestry still needs a custom one since using a "ram" search provider doesn't yield search results like a filesystem does.