Snippets/Easily block spambots

Description
Adds two tabs on Special:Contributions pages which allow the user to block spambots easily. It then redirects to Special:Nuke for convenience.

Code
This code demonstrates how to make nested API calls as well as use tokens. For the latest version, check the source on github.