Update the buildbot configuration script. Enable optimised build. Add a buildstep to clean old logs. Tracker item 3642.
Change the intension of the code.
Merge pull request #165 from tyu011/master

Update to the latest version of buildbot configuration script