Switched Tilemap to use user-specified layer.

Tilemap was using the current layer even if a layer was specified as a
parameter in getTile/setTile. Changed it to use the user layer if one is
specified.
Merge remote-tracking branch 'origin/dev' into izz
Merge pull request #188 from Izzimach/izz

Switched Tilemap to use user-specified layer.