librustc: Implement a lint mode for mutable structures; deny by default. r=tjc
auto merge of #5107 : pcwalton/rust/mutable-fields, r=pcwalton

r? @brson