Add executable permissions and python shebang lines. Minor nit style cha...

...nges to run_swarm.py.