Improved version of BSONDecoder

Hi,

submitted a commit for improving performance of BSONDecoder.

ciao.hans.