Switch is_public to a bitflags type for NsDefs

Preparation for importability tracking