Move generally useful functions to cider-util.

Move `cider-propertize-region` (which was defined in two places) and `cider-property-bounds` to `cider-util`. Do the same with color scaling functions from `cider-doc`.