updated spring and spring-security version

- removed some dead code
- added configurable deploy repo to build.gradle