Pass options to the base class
Merge pull request #690 from fredj/layer-options

ol.layer.Layer: default values