Use local vars for index keys/options

This isn't really necessary for keys, but it will make the code more readable when we add more options processing.
Set default "w" or "safe" option when creating indexes

Depending on the driver version, "w" or "safe" should be set by default. doctrine/mongodb#168 may make this unnecessary, but there's no reason ODM cannot be explicit.
Do not specify write concern options in tests

The default commit options from ODM's configuration will suffice. In the case of CollectionPersisterTest, those options will not be used, but the MongoDB driver will still default to w=1 for 1.3+ (when MongoClient is used). Using "fsync" in tests is also completely unnecessary.