Replace deprecated options for fysnc and safe with journaling and write concerns (to prevent deprecated warnings in Mongo driver 1.5)
Use createIndexes when ensuring indexes with Mongo driver 1.5