Wrote script for mongo shell to ensure indices created.

    $ mongo localhost/test setup/ensure-indices.js