More buildslave integration

This integrates buildslaves with builds (so buildslaveid is no longer -1) and tracks connections and disconnections.

Next up is tracking configuration changes.