Expose EJSON Encoder & Decoder

Expose the EJSON Encoder and Decoder functions. Allows there to be a couple of hacks between what goes on the page and just a bit of customisation.