make GTF parser more robust

Closes #255. Gttestdata tests still fail due to output changes no longer matching the reference. Will update this separately.