DATAMONGO-701 Improve performance of indexed starts-with queries

This changes the starts-with regex to the prefixed form using ^ to
better make use of any index on the queried field.  Also changes
ending-with queries to use the $ anchor.