Update rapportive.py

Added error checking to the request function.
Moved the comment so that it conforms to PEP8.
Merge pull request #6 from muloka/patch-1

Update rapportive.py