Use absolute import in keyring module
Workaround for detecting abstract class
Update syntax for Python 2.5 compatibility. Note how ugly this code gets without Pyhton 2.6. I'm thoroughly convinced Python 2.5 support should be removed soon.
Simplejson is required for some backends on Python 2.5