bsongen: Slice support

Also changed ExpectIndex to SkipIndex. The check
is not worth it.
Merge branch 'bson'
bsongen: Map support
Merge branch 'master' into replication