numerous fixes, handled <class> tag
Merge branch 'develop' of git://github.com/bademux/orientdb into bademux-develop