Cleaned up getSource(..) file attempts to succeed as soon as it finds a readable file. Also added a final case which will always check a load path from EXIST_HOME, giving a developer a reliable reference method for both running eXist directly and running eXist in a wrapper
Cleaned up getSource(..) file attempts to succeed as soon as it finds a readable file. Also added a final case which will always check a load path from EXIST_HOME, giving a developer a reliable reference method for both running eXist directly and running eXist in a wrapper

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

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