Convenience macro to work around the fact the [bitflags] crate does not yet support iterating over the
individual flags. This macro essentially creates the [bitflags] and puts the individual flags into an associated
constant pub const ALL_FLAGS: &'static [].