Fix method toJavaObject() to return this if the required class is a subclass of Sequence.
Fix method toJavaObject() to return this if the required class is a subclass of Sequence.

svn path=/trunk/eXist-1.0/; revision=1100

jessealama/exist,hungerburg/exist,zwobit/exist,dizzzz/exist,olvidalo/exist,lcahlander/exist,lcahlander/exist,olvidalo/exist,RemiKoutcherawy/exist,RemiKoutcherawy/exist,opax/exist,dizzzz/exist,jensopetersen/exist,eXist-db/exist,jensopetersen/exist,kohsah/exist,ambs/exist,windauer/exist,zwobit/exist,eXist-db/exist,wolfgangmm/exist,opax/exist,jessealama/exist,adamretter/exist,patczar/exist,zwobit/exist,jensopetersen/exist,wolfgangmm/exist,eXist-db/exist,kohsah/exist,patczar/exist,hungerburg/exist,ljo/exist,wolfgangmm/exist,ljo/exist,eXist-db/exist,joewiz/exist,olvidalo/exist,RemiKoutcherawy/exist,ambs/exist,shabanovd/exist,joewiz/exist,joewiz/exist,opax/exist,MjAbuz/exist,olvidalo/exist,shabanovd/exist,RemiKoutcherawy/exist,ljo/exist,shabanovd/exist,joewiz/exist,ljo/exist,joewiz/exist,ambs/exist,lcahlander/exist,wshager/exist,kohsah/exist,windauer/exist,wshager/exist,opax/exist,wshager/exist,jessealama/exist,hungerburg/exist,wshager/exist,hungerburg/exist,zwobit/exist,shabanovd/exist,wolfgangmm/exist,lcahlander/exist,wshager/exist,wshager/exist,dizzzz/exist,MjAbuz/exist,jensopetersen/exist,jessealama/exist,MjAbuz/exist,lcahlander/exist,lcahlander/exist,ambs/exist,RemiKoutcherawy/exist,patczar/exist,patczar/exist,MjAbuz/exist,eXist-db/exist,dizzzz/exist,windauer/exist,olvidalo/exist,windauer/exist,shabanovd/exist,eXist-db/exist,patczar/exist,jessealama/exist,dizzzz/exist,adamretter/exist,ambs/exist,windauer/exist,adamretter/exist,MjAbuz/exist,jensopetersen/exist,adamretter/exist,opax/exist,jessealama/exist,jensopetersen/exist,ambs/exist,wolfgangmm/exist,ljo/exist,kohsah/exist,shabanovd/exist,RemiKoutcherawy/exist,dizzzz/exist,zwobit/exist,MjAbuz/exist,adamretter/exist,kohsah/exist,windauer/exist,patczar/exist,ljo/exist,zwobit/exist,hungerburg/exist,wolfgangmm/exist,joewiz/exist,adamretter/exist,kohsah/exist