pep8 cleanup on get_random_open_port function

Tried adhering more strictly to PEP8 coding style.
Merge pull request #15 from samrocketman/fixup/pep8

pep8 cleanup on get_random_open_port function