Add shebang to main.py to allow direct invocation of main.py

The /usr/bin/env stanza is a fairly standard approach to
avoid problems when multiple pythons are installed on a
machine.