add smallintset
auto merge of #6677 : yjh0502/rust/smallintset, r=graydon

Implement SmallIntSet (refer #4984)