auto merge of #9989 : luqmana/rust/mut-everywhere, r=alexcrichton
libsyntax/librustc: Allow mut qualifier in patterns.
libsyntax: Get rid of some logic for some obsolete syntax.
Test for mut in ident patterns.