Change the way the build log is shown

When build.log exceeds max_file_display_length then the page will
load the last max_file_display_length bytes of the log and not the
first ones. This helps when tracking a build's progress live.