Added fully featured Envelope objects and Layer.getExtent() method.