Fixed minor typos and spelling mistakes

Fixed minor typos and spelling mistakes in the commments.
Add generated-sources directory to .gitignore
Added custom URL control to the project settings
Use custom URL if specified in BUILD_STATS
Test custom URL for builds stats
Cancel jobs when a new patch set is created

When a new patch set is posted, building the previous patch set
is no longer valuable. This causes an enormous extra load on the
build servers. If someone rapidly posts several revisions of a
patch, it could cause enormous delays and wasted resources in
Jenkins.

This only does part of the work, because calling cancel() on a
Future that is provided by scheduleBuild2() does not cancel jobs
that are in the queue. A ticket has been created to address this,
available at: https://issues.jenkins-ci.org/browse/JENKINS-12152
Merge pull request #8 from VestniK/custom-url

Custom url
Added triggering on filepaths.

Makes it possible to add one or more filepaths per Gerrit project
in the UI. The job will be triggered only if the files in the
patch set match a filepath.

Change-Id: Icccba99574888dc2d1e312085aa58fd3cfe762ba
Added help documentation and a spelling correction.

Help text for file triggering and changed the repeatable
button "Filepaths" to "File paths".

Change-Id: Idbb85be0e98bddbc74d8ecd7386809aefd4e85bd
Fixing so checkstyle and findbugs can be run with maven 3.

The needed uppgrade and reconfig
surfaced new checkstyle warnings
that needed to be fixed.

Change-Id: Ifab605ead2ad9376084a0c651efafb81a88b90e6
Merge "Fixing so checkstyle and findbugs can be run with maven 3." into internal
Added the possibility to check gerrit version.

It is now possible to ask the trigger which version
of gerrit we are connected to. This can be compared
to a feature version to enable/disable functionality.

Change-Id: Ie335efdd6025a7cce45714d27cb2bad3b8034ce8
Bugfix for supporting quietperiod time in the gerrit triggered job

Set quietPeriod time as gerrit-trigger-plugin buildScheduleDelay
when there is a custom quietPeriodTime and it is greater than
gerrit-trigger-plugin buildScheduleDelay
Merge pull request #5 from bnovc/master

Cancel old jobs when a new patch is uploaded
Checkstyle fixes.

Fixed up some checkstyle warnings.

Change-Id: I0b99dbf8bc25cdf7c7a13e667e4b5d931c3a884b
Test cases for Cancel jobs when a new patch set is created.

Wrote two tests to verify the behaviour.

Change-Id: I333b2562cb38e4f120041a6b407831745e57dbad
Changing maintainer info.

Change-Id: Ia98f07b4127515d2c235200ef06235211356191f
Merge remote-tracking branch 'remotes/origin/master' into mergefrommaster

Conflicts:
	gerrithudsontrigger/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/hudsontrigger/GerritTrigger.java

Change-Id: Ic19711b2ddc6624e557c31206431b7d0061c9bf1
Synchronization and NPE fix of runningJobs.

Null checks and synchronization of the map of running jobs.
There where problems when the trigger was deserialized,
that could cause NPE to be thrown.
Also added synchronization to avoid dirty writes.

I still get unexpected behaviour with this feature;
builds fail to cancel and it somethimes ends up
in a strage state, so I put it as more optional
than before and changed the default to be off.

Change-Id: Ic3f135f2c961161d35c2067d6c0769e7167668b2
[maven-release-plugin] prepare release gerrit-trigger-2.4.0