Bug 967705: upgrade buildapi + dependencies; r=rail