Optimize queries

We were seeing many queries against mongo_store_entries not using the request.url index because they were sending {request: {url: <val>}}. Updated to always flatten to dot-separated paths.