update use of GetLayer -> LayerRegistry::CreateLayer
Merge pull request #1636 from longjon/get-layer-gone

Holiday merge - Update use of GetLayer to new registry function