foursquare/fongo — pull request #70 by twillouer (2013-08-07 13:04:28+00:00)
Title: Correct inner index

Add errors when creating index like :

```javascript
> db.fongo.ensureIndex({a:{n:1}});
{
"err" : "bad index key pattern { a: { n: 1.0 } }",
"code" : 10098,
"n" : 0,
"connectionId" : 256,
"ok" : 1
}
```