TRUNK-4286: OrderType classes, xml and hibernate configuration added

I've rebased the changes to the right branch, but I still don't know what should I do with the conceptClasses property, should I create a many-to-many relation or an element collection? And what is the type of the conceptClasses? Please be more specific, I'm pretty new here :)