Return last builds on each branch for /builds?branches=true

This is a hack to fix travis-ci/travis-web#123 easier. A proper solution
would be to refactor how /branches work.