Fixed double context initialization

The servlet was initialized in both contexts (application context and
servlet context) before this fix. This led to singletons being
constructed twice.
Now it is only initialzed in the servlet context, though the webapp
context still exists (necessary for Spring Security filters)