added unit tests for Merkle proof of storage.  added further documentation
now using HeartbeatError in SwPriv.  also added a lot of tests.