Changes to support latest rust-layers

Now tiles are stored in TileGrid and layer methods are simple instance
methods.
Respond to review comments
Merge pull request #2843 from mrobinson/tilegrid

Changes to support latest rust-layers