Render unnamed flag bits in to_text() instead of dropping them (#1276)
Closes #1264.
dns.flags.to_text() and dns.flags.edns_to_text() iterated only the named
enum members, so any set bit without a named flag (for example the EDNS
0x2000 bit) was silently dropped from the text representation. Such bits
are now rendered as FLAGn, where n is the bit position, and from_text()
and edns_from_text() parse that form back, so the conversions round-trip.
Adds tests in tests/test_flags.py and a whatsnew entry.
Fixes [#1264].
Co-authored-by: Eugen Goebel <eugen-goebel@users.noreply.github.com>