Refactor CPM for easier testing/feature dev

* Easier to write tests because fewer method signatures change when we add new fields
* Note that CPM now 'knows' about the parameter names.  Oh well.
Refactor JenkinsServerConfiguration setter the same way RepositoryConfiguration was refactored earlier
Fix missing prebuildCommand
Refactor BuildSuccessReportingServlet to function anonymously
Implement support for the CREDENTIAL_MANUALLY_CONFIGURED mode

* This should allow stashbot to work with modern jenkins
Merge pull request #48 in ATLASP/stashbot-helper from feature/credentials to master

* commit 'c3b639841404c39a6ff12565208b0005cadf712d':
  Implement support for the CREDENTIAL_MANUALLY_CONFIGURED mode
  Refactor BuildSuccessReportingServlet to function anonymously
  Fix missing prebuildCommand
  Refactor JenkinsServerConfiguration setter the same way RepositoryConfiguration was refactored earlier
  Refactor CPM for easier testing/feature dev
Make shell command status pipeline more sane.

ITOOLS-12168
Only run the success command if all jobs succeeded prior to it.
Merge pull request #50 in ATLASP/stashbot-helper from jardent/better-shell-code to master

* commit '530164b8f7504fc807e843ec44bda1130db8b2b6':
  Only run the success command if all jobs succeeded prior to it.
  Make shell command status pipeline more sane.
bump the patch number in the version
Bump the version of Stash.
updating the metadata first to avoid inconsistent state for comment event handlers
Merge pull request #51 in ATLASP/stashbot-helper from feature/metadata-first to master

* commit 'a538e064d893ba45f127c086d6fda2279dec3e1b':
  updating the metadata first to avoid inconsistent state for comment event handlers
updating the metadata first to avoid inconsistent state for comment event handlers
added event publishing
added upgrade task for active objects
Merge pull request #53 in ATLASP/stashbot-helper from feature/emit-events to master

* commit '7ae58a1cc283194a23753b641dd221ddbbb8a8af':
  added upgrade task for active objects
  added event publishing
  updating the metadata first to avoid inconsistent state for comment event handlers
Adding support for configuring jenkins to send emails
Fix mergeRefUrl for cross-repo pull requests

 - See ITOOLS-12803 for an example of failing cross-repo pull request
   verification builds.
 - My change is purely speculative, from reading the code. Unfortunately
   I don't know how to test this.
Fix lowercase column name which breaks on postgres