Maintenance and QA tools

What's in here:

Running build.py will run all of the above.

The necessary dependencies can be installed using pip install -r requirements.txt.