entities: Add "flags" member to struct xmlEntity This will hold various flags and eventually replace the "checked" member.