Check inline label ids.

Check for duplicate labels on the same node.
Check for references to not-in-use label token records.
No checking yet for labels referenced via dynamic records.
Check dynamic label ids.

Check for duplicate labels on the same node.
Check for references to not-in-use label token records.

Added a lot of temporary duplicate code in store layer to aid reading and writing label id arrays.