Made it possible to register custom servlets by making them available as Spring managed beans. Also changed some debug logging.