Update the extension to work with MediaWiki 1.21

- Also updated to work with new Azure SDK

Change-Id: I919fb8e29777e766b478a69167bd6e0c0b1f361f