Bug 1074826 - Clean up some pyflakes & PEP8 warnings in buildbotcustom; r=pmoore