Refactor buildbot states …
Split the master and slave states into separate directories, use the standard files/ directory, and use more Jinja templating.