Increase build wait time

Build is occasionally delayed in test. In that case, some test fails
due to timeout.

This patch gives enough time as wait time. In addtion, integrates
to one static value.
No ssh authentication for test

Essentially, we don't need ssh authentication when connect to ssh server
mock. (Maybe it should do at gerrit-events.)

Some tests makes error due to ssh authentication. (But tests are passed.)

This patch removes ssh authentication process from ssh server mock
definitely.
rescheduled inflight pushes + events not in cache

With high volume repos, it is possible for Gerrit to re-schedule a replication
due to an inflight push. This re-schedule will result in a failed replication state
and will result in a failed build. By only proceeding on a successful replication
status, this will be avoided.

This commit also includes a fix to cope with missed events due to a Jenkins restart
Improve help for draft published

Added a warning note for the usage of Draft Published events
when using Replication Events. The note is only seen when replication
is configured at the admin level.

Upgraded to gerrit-events 2.4.2
Add new utility class then move some useful methods

TestUtils class is new utility class. Some methods are moved
from DuplicateUtil class. some of them are refined more generic.

Then some tests are fixed to use new one.
Merge pull request #188 from scoheb/replication-fixes

Reschedule inflight pushes and help improvements for draft published
Fix copyright
Remove old constants
Merge pull request #189 from rinrinne/test-misc

Patch for test
[maven-release-plugin] prepare release gerrit-trigger-2.12.0-beta-5
[maven-release-plugin] prepare for next development iteration
[maven-release-plugin] prepare release gerrit-trigger-2.12.0-beta-5r2
[maven-release-plugin] prepare for next development iteration