Add new entries in plugin Git admin form

 * Add http password field
 * Add gerrit version radio button
 * Forgeupgrade

Change-Id: I2050cfb7bf678dcc7bb1f23b1a6dbea8de5b0aeb
First step to use strategy pattern for Gerrit driver

Change-Id: Ida22e79acf3bd9e1af0483e5ea6c23675b4b128d
Prepare the work to introduce GerritREST tests

* split in several files to not end up with 10k lines
* add interface to ensure that one driver implements the good method

Change-Id: I25852ae49e279c6a463ee012ea4b7b93c7a786f1
Merge remote-tracking branch 'stable/master' into 5679_use_gerrit_api

Change-Id: Id24d028b024437e10eedaf2cea0cca1fd406bf6d
Merge "Prepare the work to introduce GerritREST tests" into 5679_use_gerrit_api
The gerrit driver is now given by a factory

Instead of injecting the gerrit driver everywhere, inject the driver factory
instead so that the driver used depends on the server (one server is
reachable through gsql while another will be REST compliant).

Future step: remove the dependency on the factory and ask to the gerrit
server what is its driver.

Change-Id: Ib855ef03d035f91933b34e6db9c4673ef71cbaa3
Implements gerrit rest driver group managment

 * Add user in group
 * Create user account if user does not exist in gerrit
 * Remove user from group

Change-Id: I3f128a8099c48cfa575a31950d714d7407e1d5f8
Implements gerrit driver group exists in REST

Change-Id: I01c13f4790e534953c1fd3917421908eb94bb179
Remove gerrit driver addUserToGroupTest

 * These two tests are already done in manageUsersTest

Change-Id: Ie85038e7516f79f93200f784f23be57722641f07
Implement Gerrit REST driver (continue)

Next steps:
- refactor membership manager (currently GerritLegacy leaks into it)
- do not throws RemoteSSHCommandFailure outside of GerritLegacy (corollary: should GerritREST throw exceptions?)
- better logs for debug
- flush caches
- ssh keys propagation
- switch to guzzle

Change-Id: I801962ee7469bbc5c3f5a7830bb75f26f6f52018
Refactor listGroupsVerbose

Move the implementation inside of GerritLegacy as it was really specific to
gsql output (explode on \t).

Change-Id: Icd74e57786584d2f28050787c984ac91f51a9564
Fix some actions

 * call http_client->init() everywhere
 * add logger informations
 * fix wrong url for DELETE /groups/members/

Change-Id: I9484fabbe24307c81c84b2780c344ae1f81a048d
Implements sshkeys actions for Gerrit REST Driver

Change-Id: If4a3c717ce0245f3736d45610c6a84a5f5e0d766
Fix user account not linked to LDAP account in Gerrit

 * Workaround to https://groups.google.com/forum/#!topic/repo-discuss/BUHa0tKW4zI

Change-Id: Ifb0450f7d9a4f384c611eb5e73a9cef6afd43955
Implements Gerrit REST Driver delete project

Change-Id: Ib887042531e4f85e46fb522d7245285e97762831
Allow mocking even if there is a namespace.

Change-Id: I9c10298da6ca9797acbb8833b40c9a7c80231c5a
Fix mock generation

Change-Id: Ifa9c6ec892f56482701264d1edb3b2bae8a65d04
Replace Curl by Guzzle

Change-Id: Ib42fab38414528b348a91348fbdb6af0058dca23
Revert Http_Client

Change-Id: I8ed28a269d2371855d05d6beefc4bb5e3c76ed94
Do not allow to select gerrit 2.8 for PHP <5.3

Change-Id: Ic75af53cf9877d72c6cbb16464b07d8a4319197d