fix spring context loading, clean up
Merge branch 'core-refactor' of github.com:webdetails/cda into core-refactor