feat(bundle): internally calculates sha1 hash

`mark_new_block` now only accepts a block size parameter.  A new
`blockids` member function gives view of the stored block IDs.