Adding utility method to APIClient

    - temporary_credentials acts as the credentials method
      but only for a context

I created this utility method in some of my projects, I find it useful so maybe other will do as well. 
I see one problem with this: People using python 2.6 would need to import the with statement from __future__ to use it

Thanks