This adds support for two environments: 'py27' for basic tests, and 'deprecations' to run tests with deprecation warnings turned on (the latter is meant to be run from a buildbot step that knows how to count and format the warnings nicely).