Remove deprecated attributes from xml document

As of solr 4 the document attributes: allowDups, overwritePending
and overwriteCommitted have been deprecated; causing warning messages
in the Solr log.

While removing these attributes from the generated XML, method
signatures have been kept the same to non cause BC issues.