Update be to git-2 and EAPI 4 (+ style fixes).