(SessionLoader.start_rasterlayer): Added code to read the opacity and mask type of the layer and construct a new layer with the additional parameters.