With relative import of the bitflags crate, the macros would try to fetch nonexistent paths, preventing tests form compiling.
This adds `bitflags.rs` from the bitflags crate. Due to not wanting to introduce Cargo as the dependency manager yet, it's slightly modified to compile as a naked module.