Fixed: when replacing a document, all custom stream listeners need to be switched to STORE mode after removing the old document.
Fixed: when replacing a document, all custom stream listeners need to be switched to STORE mode after removing the old document.

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

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