PT-2428: django-janrain improvements

    - Updated error and logging handling.
    - Improved user retrieval and creation.
    - Gave some PEP-8 love.

Patch Set 2:

    - Added Gerrit Change-ID.

Patch Set 3:

    - Shortened commit subject.

Patch Set 4:

    - Addressed some more error handling issues.
    - Improved the Django user get or create.

Change-Id: I3be601761beed10be49812edb31ce418b09f496c
JIRA-Issue: PT-2428