Rename jenkins_* tables; capture build state for TeamCity