Add a way to access detach info
It would be nice to have a clean way to access `com.bohemiancoding.sketchtool.detach` / `com.sketch.detach` without dropping down to native methods.

Could be an addition to the `Settings` API, or directly to the `Layer` object.