Extract attachment text rather than pass in base64 encoded files

Using tika to extract the text from attachements, still need to allow
more types than just PDF.

Otherwise ES stores the encoded file, and there is no way to turn this
off currently using the attachments-mapper plugin.

We might be able to ignore the attachment title, as it's highly likly
to the be first thing in the document