Fixed addField to not set field-type which does not seem valid
Merge branch 'newRegressionTests' of https://github.com/marklogic/java-client-api into newRegressionTests