Fixed a number of problems related to OAuth integration. Added missing imports, corrected undefined variable names, modified lookup keys in OAuth responses, and handle case where a token is valid, but unknown to the db
Merge branch 'herja' of https://github.com/iPlantCollaborativeOpenSource/atmosphere into herja