Refactor and metrics integration.

- Removed accidentally duplicated configuration classes.

- Added default Jersey servlet.

- Added configuration bean for spring dispatcher servlets.
Started impl for flexible servlet config.