Small infrastructure fixes

- make bin/pyflakes and setup.py executable on UNIX (chmod a+x)
- use #!/usr/bin/env python to accommodate different python locations
- ignore "build" directory