Merge branch 'stable-3.0' into stable-3.1

* stable-3.0:
  HttpSession: Align project name encoding with gerrit core

The modification in 368f8755471 is reverted because of the Gson
serialiser/deserialiser already included in Gerrit core.

Change-Id: I5f3c2cef57a9caea271b0048d50e836a619b9b97