allow setting max width of scale line control

allow setting max width of scale line control (as defined in OpenLayers ScaleLine.js)