Improve the camel case warning a bit.
Eliminate unused variable warnings.
Register snapshots.
auto merge of #8050 : msullivan/rust/cleanup, r=graydon

And a couple other things. Fix up some unused variable warnings, and improve the camel case lint message a little.