config restructuralization, small fixes, refs

ref:
http://docs.spring.io/spring/docs/4.1.0.BUILD-SNAPSHOT/spring-framework-reference/htmlsingle/
http://docs.spring.io/spring/docs/3.2.9.BUILD-SNAPSHOT/spring-framework-reference/htmlsingle/