Add ScaleLine Control to OpenLayers maps.

Add an option to add a scale bar to OpenLayers maps.