remove unused GetLayer function (replaced by LayerRegistry::CreateLayer)
Merge pull request #1645 from longjon/remove-get-layer

Remove unused GetLayer function (replaced by LayerRegistry::CreateLayer)