Migrate to Elasticsearch 1.x

This migrates Archivematica to Elasticsearch 1.x (tested with 1.3.4), and the official Elasticsearch Python library instead of pyes.

Known issues:

* [x] Number of files in an AIP does not display correctly in the advanced search view
I originally added this so that MAX_QUERY_SIZE would be added to all queries, since it was often forgotten and defaults to a low number (10, I think) which caused problems.  I think this is still relevant.