Fix for Reloading Hudson Configuration Causes "Duplicate"
Gerrit Jobs To Trigger.

The issue is due to the creation of duplicate listener
while Reloading Hudson Configuration.The issue is fixed
by checking the hashcode of listners and avoid the
duplication.
Various spelling, grammar, and typo corrections

Corrected various spelling, grammar and typographical errors in the
comments.
Added forkmode always for maven-surefire-plugin

This is to avoid permgen errors when running junit tests.

Change-Id: I98f26864e966c2e7ecb9c04f01d44553278820b4
Removed connecting to gerrit on startup

As default, the url to gerrit is now blank. Unless an url is entered,
plugin will not connect to gerrit on startup. If the url is blank, a warning
will be shown reminding the user to enter an url. If an url is entered and
a connection still cannot be made, an error is shown.

Change-Id: Ibbc5e279234758be97145d9a2e1abf40409cbde1
Merge remote branch 'origin/master' into im
Change owner and patch-set uploader as build parameters.

Added 6 new build parameters:
  GERRIT_CHANGE_OWNER: name and email of the owner.
  GERRIT_CHANGE_OWNER_NAME: name of the owner.
  GERRIT_CHANGE_OWNER_EMAIL: email of the owner.
  GERRIT_PATCHSET_UPLOADER: name and email of the uploader.
  GERRIT_PATCHSET_UPLOADER_NAME: name of the uploader.
  GERRIT_PATCHSET_UPLOADER_EMAIL: email of the uploader.
And refactored all build-parameters into an enum
so they don't clutter up the GerritTrigger code.

Change-Id: I4be19d4747f736d666239bb99f5fed5f22534b82
Various spelling, grammar, and typo corrections

Corrected various spelling, grammar and typographical errors in the
comments and documentation.
BugFix empty string instead of null for parameters.

When for example the uploader is null an empty string should be set as
the parameter value instead of null that causes an error when they are
extracted as environment variables.

Change-Id: I1de921b0826336ad89ab3143a76044d62b9a594e
More correct parameters listing for Query search result.

When I added the parameters for change owner and uploader
I missed to add them to the search result for the manual trigger.
This patch fixes that and should minimize tha risk of it happening
for future addons.

Change-Id: I4c7e3c60f3dfc2e4301b17f79b2c3abf292f78d9
Add bin directory to .gitignore file.
Update jgit references to be eclipse-based.

The git-plugin no longer provides access to the spearce
jgit packages.
Fixed NPE when the Plugin stops

If the connection has never been configured
and the plugin was told to stop, an NPE was thrown
because the stop method asumed that there always is
a GerritHandler instance available.

Change-Id: I472323137280f86b7cc87af46917efea65aa0c6f
Merge pull request #3 from jenkinsci/jgit-version-change

Update jgit references to be eclipse-based.
Merge
Testcases to recreate duplicate triggers bug.

The tests cannot recreate what we experience currently in runtime,
but they are still valid tests.
Refactored SshConnection to a factory for easier mocking.
Started on a mocked ssh server for future use.

Change-Id: Ifc506e532b6ff62324f9ee0b48ada0cd014e9998
Null handling for TriggerContextConverter.

In some situations certain values in the TriggerContext can be null,
The xstream converter didn't really handle this very well,
but now it does.

Change-Id: I35dec07b1dc1ebcd88c43faeca9712f71e178509
Bugfixes for when there is more than one GerritCause.

When a build is triggered for the same patch set several times
in the same quiet period there was some duplication issues.

Also some continuation of the sshd mock server.

Change-Id: I93991099f86ade10b56319fa4915c3cebcc02393
[maven-release-plugin] prepare release gerrit-trigger-2.3.1
[maven-release-plugin] prepare for next development iteration
[maven-release-plugin] prepare release gerrit-trigger-2.3.1-r2