DDF-226: Cleaned up code to use generics.

Also updated ConfigurationManager to send out a read-only map instead of letting listeners get a handle on the real map.