translate Paths to valid dot-separated MongoDB collection names (Fixes #139)

A full-on parser may not be necessary here, since the only job is to escape / unescape characters given (a) a list of characters which are special, (b) an escape character, and possibly (c ) replacement map to use for swapping characters or reassigning them (e.g. reassigning '/' to '.' and '.' to '\.' or whatever).