added isDeployedAsServlet as ERXApplication method
ERXShutdownHook is enabled by default (in order not to break existing projects)