Ability to configure Spring context class

Can be usefull in environments with non standart context configuration, e.g. OSGI.
Implementation as in standart Spring Context Listener.