Refactored XQueryContext - logic in constructors is evil, fixed the issue when previously passing this and then taking an operation on it - its impossible to unit test!
Refactored XQueryContext - logic in constructors is evil, fixed the issue when previously passing this and then taking an operation on it - its impossible to unit test!

svn path=/trunk/eXist/; revision=13973

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