Added way to get document size from get/put functions

I really needed the size of the document stored, which is only done on write/read so I added a couple extra methods that give that information.  Maybe you'll find it worthwhile.