Approve pull request on successful build

- added logic for bitbucket and stash to approve a pull request on a successful build
- added Checkbox in UI to turn feature on/off
rm 146

@meriouma do we have checkstyle on this project?