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

Go ahead and create a ticket for this (*define semantics for overlapping paths*, or something like that). We can ignore for now but it will bite us later.