Document that options in layers and properties in features are set as object properties

Fixes #1199. Couldn't think of any way of 'inheriting' this doc, so repeated on all layers (except layer.Layer). Also document that feature properties are treated likewise
same as for heatmap.