NOJIRA memory management improvements
Merge branch 'develop' of github.com:collectiveaccess/providence into develop

Conflicts:
	app/lib/core/Search/SearchIndexer.php
PROV-1092 Starting point for intermediate export download configuration screen

Renaming the download already works for batch exports (i.e. via sets)
and single-item exports. Next up: Running exports based on search
results through the same controller. No need to keep that code in two
different places.
Merge branch 'develop' into dev/exportUIRework

* develop:
  PROV-1093 Fix set display in history menu
PROV-1092 Move batch export from search result to central batch export controller

This should help streamline the export code in preparation for
alternative export targets.

Still have to figure out how to pass result order/sorts to batch
exporter. The order seems to be all over the place right now if we just
pull the list from ResultContext.
Merge branch 'develop' into dev/exportUIRework

* develop:
  PROV-1095 Now update ResultContext properly if result order has changed
PROV-1092 Work on inspector
PROV-1092 Add GitHub PHP API
PROV-1092 Remove GitHub PHP API

This one doesn't quite follow the GitHub API v3 and documentation is
sparse.
PROV-1092 Install GitHub PHP API via composer
PROV-1092 First version of GitHub export upload. Very sketchy and barfs on first sight of an error, but it works.
NOJIRA Add guzzle
PROV-1092 Code refactoring and exception handling
PROV-1092 Handle overwriting existing files in GitHub
PROV-1092 Config defaults
NOJIRA Added dont_show_timestamp_in_change_log for paranoid users

It disables display of the exact instant of a change and limits it to
the date.
NOJIRA No more headers already sent in binary download views
NOJIRA No more hardcoded /tmp in ZipFile
NOJIRA Migrate from ZipFile to PharData

Zipfile produces corrupt files on CentOS with PHP5.4 and I'm not in the
mood to reinvent the wheel so I thought we might as well migrate to
something that works.

The phar extension is not really a new requirement, we've been using it
in the zip extraction code of BaseModell::_processMedia for ages. Now
it's a formal requirement with config check and everything.

I'm not sure but I think the extension is part of the core distribution
since PHP5.3. It's available in the default php 5.4 packages in Debian
and CentOS. No extra setup required.
PROV-1092 Proper error and filename handling