Fix editAliases function, patch by Pyfisch

https://mediawiki.org/wiki/Special:Code/pywikipedia/11777
Prevent attempting of editing of Qualifier claims, and automatically add the lastrevid parameter

https://mediawiki.org/wiki/Special:Code/pywikipedia/11778
Use "total" parameter instead of deprecated "number" (bug 1629).

https://mediawiki.org/wiki/Special:Code/pywikipedia/11779