Refactor common code for spring apps into spring-common

- Also change urls for service checks to <service>/url and <service>/check-access form
  (for example, datasource/url and datasource/check-access)
- Bump spring to 4.0.0.RC2