Move EnumSet into libextra
auto merge of #8054 : sammykim/rust/move-EnumSet, r=alexcrichton

Fix #8004