Switch to using javabin to send documents to EmbeddedSolr

Also avoid having two copies of documents in memory during the add
phase.