Implements custom units (and nautical miles) in the default leaflet scale control (introduced in 0.4)