Python 3 and Travis support

Actually, I barely did anything. Since `requests` supports Py3, not much had to be changed. But at least, all the examples in the docstrings appear to work without issue.
This needs the trailing space, but it doesn't need the trailing `\`. But really we don't want trailing whitespace in the result anyway. So perhaps better to just add `.strip()` to the return statement.