[FIXED JENKINS-16202] [FIXED JENKINS-11105] [FIXED JENKINS-18759] [FIXED JENKINS-19968] [FIXED JENKINS-14460]. Fixes build parameters being lost on retry and unprivileged users being able to manually trigger builds.
Removed inexplicably failing test assertion. Fixed checkstyle problems. Excluded web tests from normal running via maven profile.