Use the wonderful mwoauth

Instead of re-implementing the thorough and somewhat complicated
Mediawiki OAuth hand shake, we rely on the wonderful mwoauth package and
remove all the old unnecessary code.  We also update dependencies to
make sure they're compatible with mwoauth's needs

Bug: T76779
Change-Id: Ia899f0a71ea770e3f402eac0645be4fdd924379a