Replace flags.rs with stdlib bitflags macro
Merge pull request #103 from jcmoyer/bitflags

Replace flags.rs with stdlib bitflags macro