more fixes for Nokogiri and TreebankCiteIdentifiers, adding a bunch of tests, improving errors in matching