Updated default configuration structure for object_type changes.
Updated exception thrown to encapsulate the caused by and give a more descriptive message upon invalid configuration.
Renamed for readability.
Added test of new feature.
Updated structure in XML configs and DTD. Also added functionality to classes. This commit fixes #39.