Adding dynamic functionality to the Gerrit Trigger.

With this commit, it will be possible to select with a check box if
the Gerrit trigger configuration also should be fetched from a URL,
in addition to specifying it the usual way - manually.

Change-Id: I1772b5efc31f041105551d64955d51b86fa1ef16
Fix line endings on GerritNotifier.java

Replace DOS style line endings (\r\n) with Unix style endings (\n).

Change-Id: I6a217e6382967c6a97732683c77696baa51d4e14
Don't notify BuildStarted/BuildCompleted if the command is empty

Sending an empty command to Gerrit will cause an error, so if the
BuildStarted or BuildCompleted command is empty, don't send it.

Change-Id: If4da229f132e46d062d461a70e734f184cd46755
Added error handling for regexp matching.

A PatternSyntaxException could be thrown without
any catching, resulting in dead threads. I now
catch the Exception and print its message.

Change-Id: I11cfa6d8c7f8daff345d91b395ccd3e9bc9cdd59
Functionality for fetching and parsing a dynamic gerrit trigger file.

Also fixed a bug in DuplicatesUtil where waiting for a triggered
build in a test case would never time out.

Change-Id: I38162845d4f7395fb240cd4eb5dde2ced68c5ee0
Set a minimum refresh interval for the dynamic configuration.

Also made the GerritDynamicUrlProcessor into a utility class.

Change-Id: I238316b817351867c5ac034e22f0aec1253e6526
Allow extensions to contribute notification messages

New Extension Point introduced. By implementing
GerritMessageProvider other plug-ins can contribute
custom messages to Gerrit at the beginning and/or
end of a build.

Change-Id: Ie4944496db3e9c9c245b8d167a042ba625b4469a
Merge "Allow extensions to contribute notification messages" into internal
Backwards compatibility tests.

The idea is to load in jobs and builds
triggered by version 2.5.2 of the plugin
and verify that the datastructures are as they should
and that new builds can be triggered.

Change-Id: I735b6d162ae6cdb491ee60aa4ac9370a748d0a7c
Initialize triggerOnEvents in GerritTrigger start method.

If a new project is saved without adding any events to
trigger on, the default patchsetcreated is only added
once the project is reconfigured. This change adds the
default when the GerritTrigger is started.

Change-Id: I8339c68f097efbd8254ee08273825a12cd4cc83e
Merge "Backwards compatibility tests." into internal
Merge remote-tracking branch 'origin/master' into i

Conflicts:
	gerrithudsontrigger/src/test/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTriggerTest.java
	gerrithudsontrigger/src/test/java/com/sonyericsson/hudson/plugins/gerrit/trigger/mock/DuplicatesUtil.java

Change-Id: I20373f5e7d9085885cc6834342a6b23a10c01030
Error handling for regexps, continued

Re-upload of the error handling fix since
it probably got lost in a rebase.

Change-Id: I93277f52a20d9fc016e6ed7090ffeb483ca16286
[maven-release-plugin] prepare release gerrit-trigger-2.6.0
[maven-release-plugin] prepare for next development iteration
Changing back pom versions since release failed.

Password issues caused the release to fail, changing
back versions to prepare for new release.
[maven-release-plugin] prepare release gerrit-trigger-2.6.0-r4
[maven-release-plugin] prepare for next development iteration
Update build-config dependency versions.

Update to 1.2.10-SNAPSHOT