hdist: make density handling independent of replica_count
update test tables
review sx_hashfs_self usage and base its lookup on the nextprev set
properly set failure if the block target cannot be determined