Add layerDefs to defaultLayerParams

This makes setting layerDefs in the options actually work.
Merge pull request #206 from bmcbride/patch-1

Add layerDefs to defaultLayerParams