Added Java config support to Message Servlet

Added Java configuration support to MessageDispatcherServlet so that it
can be configured within a ServletContextListener or a
ServletContainerInitializer.

Issue: SWS-832
Merge pull request #3 from beamerblvd/SWS-832

* SWS-832:
  Added Java config support to Message Servlet