check for existence of OAuthException

Some hosts may have the php OAuth extension installed, which already
defines  OAuthException
fix spacing
Merge pull request #2185 from bleistivt/Patch-Oauth

check for existence of OAuthException