Made the DataContextFactoryBean extensible by making it possible to
specify delegate classes as the "type" parameter. This also avoids
runtime dependencies on unwanted MetaModel modules, since the factory
class no longer directly imports foreign module code.
Minor changes to fit in with rat and enforcer rules.