JAVA-814: Remove findOne check for index existence in createIndex method.  It's not necessary, and it causes an error on text indices on "$**" field.
JAVA-847: Replaced !String.isEmpty() with String.length() != 0 to remove Java 6 dependency
Added test-artifact-compile and renamed testing task
Added missed dependency
Removed test-artifact tasks and added test-nodeps to run on jenkins
Added 'source'=${javac.source} where it's missed
Changing HashMap to TreeMap in test so ordering of keys is predictable.
Disabling a test in Java 5 because it relies on platform support for MXBeans.