Add setting for configuring application context, such that spring and
guice can load their custom contexts.

Remove hard coded spring stuff, add support for using new setting.