Ported xml config to java config and added spring data dependencies.

Using URLBasedViewResolver unless we need to move to a tiles. I don't
think we will.