bsongen: template tweaks
bson: Simplify slice decode

Most bson implementations don't honor the index
for arrays. Such things are dangerous anyways
because they can cause massive allocations if data
is corrupt. So, we're going with the safer and
braindead approach of just appending elements
to an array.
bson: more slice decode simplification
Merge branch 'bson'