Creates a page envelope from an object model.
Parameters: map - The identity map to use. Parameters: contextPath - The servlet context prefix. Parameters: webappUrl - The web application URL. Parameters: servletContext - The servlet context directory. Parameters: publication - The publication. throws: PageEnvelopeException - when something went wrong.