Delay connection until Jenkins completes to load all items.

Configured gerrit triggered job cannot take any gerrit events until
it is loaded to Jenkins. So stream-events connection should be delayed
until Jenkins completes to load all items.
Nullpointer when project cant be resloved

When getting Gerrit parameters the project is needed to sort
out if Name/Email should be fetched or if escapeQoutas is needed.

But if the project doesn't exist when triggered manually a
nullpointer is thrown.

Added nullpointer check and default values if project is missing.
Added method setOrCreateParametes without parameter project

Change-Id: I72fc2812073772024d837d392b09e34bf041aac9
Merge pull request #58 from rinrinne/delay-connection

Delay connection until Jenkins completes to load all items.
Removed flaky test

The scenario for the test is no longer valid.
Merge branch 'i'
[maven-release-plugin] prepare release gerrit-trigger-2.10.1
[maven-release-plugin] prepare for next development iteration
Update build-config dependency versions
Fixed NPE when WatchTimeExceptionData is null

Change-Id: Iea0013251f2495a4d4f8e97245614e61c022bbc5
Use REST Api for submitting review

Parse message from old style command and get
review values from ParameterExpander.

GSON and Apache HTTPClient handle json conversion and
submitting of json.

The selection of review submitting method is done in
global configuration.
Better wording in the verified command help texts

Change-Id: I74b4a061bb8ae01600a8f74c5d12a2afcbc58329
Replace deprecated `gerrit approve` with `gerrit review`

The `approve` command is deprecated since Gerrit version 2.1.3.

Replace it with `review` throughout the code.

Change-Id: Iada958c16f630fb171459bc38214984e398c65a6
Fixes depedency problem with Java JNA

Allows building the plugin on the Jenkins server.
https://bugs.launchpad.net/ubuntu/+source/libjna-java/+bug/1065253
Merge pull request #61 from Jonux/master

Fixes depedency problem with Java JNA
Store password as a secret.
Add button for testing http rest connection

Use project listing for testing and check only for status code.
Use all allowing authscope

ssh hostname migth not be the hostname of Gerrit front end.
Fix indentation in help files

Indent with spaces rather than tabs.  Use correct indentation levels.

Change-Id: If97d4a2255e757cdbf9e72c8894e872fb99e6ab3
Copy GerritHandler to GerritConnection

For preparation, simple copy.
Isolate connection feature

* Rename class to GerritConnection in duplicated GerritConnection.java
* Remove unnecessary code in GerritConnection and GerritHandler
* Coodinate StreamWatchdog parameter