Allow string to be passed into ensureIndex and deleteIndex. Fixes #9