More frequent git filesystem commits for reference linkage

More explicit debug messages
Fix for bug whereby fragments are incorrectly reassembled after stub linking

This means that, for now, any stubs that occur on a line with another element will not be parsed
Separate infrastructure for handling sub elements
Full fix for misordered text fragments