Add change-owner parameter to gerrit hooks

This change adds the "--change-owner" info to the following hooks:
- patchset-created
- draft-published
- comment-added
- change-merged
- merge-failed
- change-abandoned
- change-restored
- reviewer-added
- topic-changed

Change-Id: I1e446bd050af13665aa93c380951bcc5eed37c6c
feature: Issue 2596
Fix inconsistent capitalisation in documentation

Change-Id: I3bc605fa6c15d99e4bb5502802325324ce4e3adc
Fix OrmException compile error in RegexPathPredicateTest

Change-Id: I2b2977ddac95cc6bff6ac7b31dd0702346b8d269
Revert "Reject inline comments on files that do not exist in the patch set"

This reverts commit a1eae0d64a7574fe770612a5b864495806762608.
Query unit tests were broken:

Failed target: //gerrit-server:query_tests
FAIL com.google.gerrit.server.query.change.LuceneQueryChangesTest
FAIL com.google.gerrit.server.query.change.LuceneQueryChangesV7Test
FAIL com.google.gerrit.server.query.change.RegexPathPredicateTest

Change-Id: Iabf972a13ed373c181084373bbf8ed754847c54d
Merge "Revert "Reject inline comments on files that do not exist in the patch set""
Merge "Fix inconsistent capitalisation in documentation"
Merge "Add change-owner parameter to gerrit hooks"
PatchScriptFactory: Fix bad indentation of return statement

This had one extra level of indentation, and was annoying to read.

Change-Id: I69b5fdbd494ad05cce9bd7394454e077af005e1a
GetDiff: Do not load patch set history

The history is not required in the GetDiff code, it is used only
in the old side by side and unified UI and RPC system. Skip the
loading process to save some time in the GetDiff REST API call.

Change-Id: I2df29b8e321e815fb061a9825511e039af19cb64
GetDiff: Do not load comments on whole file

Comments are only necessary to ensure hunks with comments are
included even if they fall outside of the context selected by the
caller. If  the caller is requesting the entire file, comments can
be safely ignored.

Change-Id: I5d5ccbb7bdd7507d9a133a80043a542d01cc967c
SideBySide2: Allow missing diff_header in JSON reply

If the files are identical diff_header may be omitted by the
server. Gracefully handle this in the UI and do not display the
diffHeaderRow.

Change-Id: I2d8ad100ab212dee40548ab4b26a04e6bc76b489