mediawiki.toolbar: Move documentation closer to code

Also tweaked whitespace and variable naming (b → button).

Change-Id: I52653a7756b3661f4f32985763af03232c873da4
Merge "mediawiki.toolbar: Move documentation closer to code"