Put the referenece counting class under test.
Make indexnode_list_t opaque.

It now has 0 public methods, a few internal methods shared with the rest of the indexnode classes. Clients now deal with iterators.
Put indexnodes_list under test.
Add a load of files that I forget.

Really need CI and to develop properly.