Port of 12008 - Clear the context vars after resetting modules. As modules may need to clean up any vars they have set (thanks Anton Kolev)
Port of 12008 - Clear the context vars after resetting modules. As modules may need to clean up any vars they have set (thanks Anton Kolev)

svn path=/stable/eXist-1.4.x/; revision=12011

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