support embedded documents
keep decrypt api consistent with original, add decryptSync
Merge pull request #2 from waffleio/master

support embedded documents