[CD][73483944] Round miles to nearest integer

Instead of limiting the scale of miles to 4 digits after the decimal
place like we do for latitude and longitude, round miles to the nearest
integer.

Also adds some flexibility to the limitScaleOf function so that a limit
other than 4 can be specified.
[CD][73483944] Bump version to 0.1.22