Improved support for parsing of GML2, added some autotests