more careful tracking of buildslaveid in AbstractBuildSlave
integrate buildslaves and builds
refactor AbstractBuildSlave.attached
add DB/data support for recording buildslave connections and disconnections
fix tests
fix errors on postgres
remove bad JSON test: StatementError doesn't exist on older SQLAlchemies, and it's not part of the API anyway
fix pyflakes