Implement full-text searching

Index document content as well as the document metadata, allowing for documents and files to be found by their content. Matches on content should be weighted lower than matches on metadata.

This should be accompanied by performance tests as well.
Hmm, that is strange. I went ahead and did some tricky rebasing so that this "never happened" ;)