Added the build.log method to download logs for a build

Added lib & test code to add a  build.log method to download logs for a build.