Switched Tilemap to use user-specified layer.

Pull request regarding issue #183

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.