added component scanning for agent and an import of the application context from the dispatcher servlet config in the webapp