Synched with master branch

--HG--
branch : stage
Merge message not describes the revision that was integrated

--HG--
branch : stage
Merge of revision 1424fea8b25b43f66d4206ce521860caf6aab937 succesfull.
Merge of revision 656bd346ec305698104d30eddc78186052206fef succesfull.
Added unit test checking that a new build should not be scheduled

--HG--
branch : stage
Merge of revision 5ed27371b1422a7cadbd6c344fdde823b678aebd succesfull.
Cleaned up Mercurial interface

--HG--
branch : stage
Implemented support for using other then Result.SUCCESS

--HG--
branch : stage
Merge of revision a13f3e18bfc6481d48804ac67c83c8cfabcf5410 succesfull.
Reverted last feature as it does not work properly

--HG--
branch : stage
Merge of revision d06c03c23197a36fb14192ace817b6579ae04f6a succesfull.
Refactored test suites

* Added failsafe for integration tests
* Moved unit tests from MercurialIntegrationTest.java to unit tests
* Removed obsolete unit test classes
* Cleaned up outcommented old unit tests

--HG--
branch : stage
rename : src/test/java/org/jenkinsci/plugins/pretestedintegration/PretestedIntegrationIntegrationTest.java => src/test/java/org/jenkinsci/plugins/pretestedintegration/PretestedIntegrationIT.java
rename : src/test/java/org/jenkinsci/plugins/pretestedintegration/scm/mercurial/MercurialIntegrationTest.java => src/test/java/org/jenkinsci/plugins/pretestedintegration/scm/mercurial/MercurialIT.java
Refactored Mercurial tests

* Added a MercurialTestCase to implement default methods
* Provided inital skeleton for integration test cases

--HG--
branch : stage
Added cases to PretestedIntegrationActionTest that should give 100% coverage

--HG--
branch : stage
Merge of revision 09bb8e4c7adbf73110536e955bd12d1deeb4f165 succesfull.
Merge of revision 0ba944145acd1aecaeca5f506761f5cb13886a81 succesfull.
Merge of revision 5e739d163252bc0b6a955b91a29bf26ef74732ee succesfull.