Basic Block Reference Counting

This patch adds basic block reference counting to all metadata drivers. Block counts are incremented and decremented accordingly. A future patch will hook this up to enforce the inability to delete blocks when they have references.