JNDI implementation change + a few other fixes

Run of the test-suite with these changes: http://messaging-09.jbm.lab.bos.redhat.com:8080/job/activemq6-param/14/#showFailuresLink (all failure appear related to class conflicts between the existing selector implementation and the one from ActiveMQ 5.x used by the OpenWire module).