Cleanup

Fixes typos in the API, cleans up imports, and formatting to be consistent with PEP 8.

Also fixes an issue in players/randoman.py for python 3.