Implement Hash trait for TreeSet and TreeMap.
auto merge of #15633 : nham/rust/hash_treeset, r=alexcrichton

cc #15294