InlineEdit: Perform some clean up

Remove some unused variables.  Also convert output of abbreviate()
method to string before passing it to String.format() method.

Change-Id: I667fd218457b27d483debf30d494ce5e59b7b494
InlineEdit: Extend change edit container with commit and patch set

Change-Id: Ic75adf1f6d98e052f1f06ea28644e17f081cb8f8
InlineEdit: Add method to rebase change edit

Change-Id: I09bbf692bc7812df5f608fc87455aa673b9f0cf9
Update JGit to 3.4.1.201406201815-r.112-g112f6e3

This version of JGit fixes the recursive merger on all storage
systems.  Objects created during the virtual base construction of a
recursive merge must be written out somewhere and made available
through an ObjectReader for later passes to work on.

In both local filesystem and DFS implementations Gerrit was no-op'ing
the inserter in dry-run mode, causing these objects to be lost and
unavailable during the later processing stages of the merger.  With a
virtual common ancestor tree or blob missing, the dry-run merger fails
and a spurious merge conflict is reported.

Instead build a non-flushing inserter wrapper around a real inserter
for the repository. On local disk (standard storage) this will allow
the virtual base to write loose objects, which may be reclaimed in
about two weeks by the standard `git prune` invoked by `git gc`.

On DFS systems this will create a new pack file and buffer a block of
data in memory before starting to store to persistent storage.
However with no flush() the DfsInserter will attempt to rollback the
pack, which may allow the DFS system to reclaim its storage quickly.
Some implementations of DFS may buffer even more deeply than one
block, making the discard even cheaper for smaller merges.

This update also fixes a potential infinite loop during object
inflation within both the WindowCursor or DfsReader versions of
ObjectReader.  Inflation could get stuck if an object's compression
stream within a pack ended at a very precise alignment with the cache
block size.  The alignment problem is very rare, as it has taken
several years to identify and track down.

Change-Id: I9859bd073bd710424e12b8b091abb8278f4f9fcc
Merge topic 'inline-3'

* changes:
  InlineEdit: Add method to rebase change edit
  InlineEdit: Extend change edit container with commit and patch set
  InlineEdit: Perform some clean up
RestApiServlet: Add AcceptsDelete direct on collection resource

In some rare cases we need to accept delete direct on collection
resource. One use case is delete change edit:

  DELETE /changes/<id>/edit

Note that change edit is itself a collection resource.

Change-Id: Ib3b99e91d1729e7d9a30d0fc939f531f1bf75238
Update JGit to 3.4.1.201406201815-r.112-g94c4d7e

Same as the prior JGit update, but rebuilt after upstream
accepted the pending commit.

Change-Id: Icc5a5454c344a955f9f078af170bb1b176169eaa