Python shebang simple cleanup

Here is the shebang cleanup to increase portability. It fixes all remaining shebangs except tests/speedtest.py as discussed below

This doesn't fix speedtest.py as it calls python with the "-U" flag to get unbuffered stdout. There needs to be discussion on both what the best method to do that is currently and with a look towards eventual python 3 code. Current options include setting an environmental  variable called PYTHONUNBUFFERED or reopening sys.stdout as unbuffered(which won't work in python 3).

Now that I'm thinking about It i'm not really seeing the need for unbuffered test in that python files as no output should be /appears to be created during timed parts of tests.