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.
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.
Fix copyright
Remove old constants
Merge pull request #189 from rinrinne/test-misc

Patch for test