- fix when pretty printing is set to false to not set pretty printing flag on
https://github.com/openpeer/opios-production/issues/81

- added helper method to convert document to SecureByteBlock
https://github.com/openpeer/opios-production/issues/81