Added a test, which sets up a job and verifies that the build state is set to unstable.

Conflicts:
	src/test/java/plugins/PmdPluginTest.java
introduced useDeltaValues and changed assertTrue to assertThat
[JENKINS-19614] Added a test case that tries to expose the bug.