Set layer data from a layer instance
Currently, we can set setting on a layer through `Setting` API:
`Setting.setLayerSettingForKey(layer, key, value)`.
How about implement an instance method in `Layer` to set data from a layer instance:
```javascript

layer.setData(key, value)
```