Improvement on XMLParser::hasElement method in order to permit user to
check if the current element has a child of the specified XML node type.

Minor improvements on BaseConfigWidget

Moved the method DatabaseModel::getObjectType(QString) to BaseObject as
a static one.