check for existence of OAuthException

Some hosts may have the php OAuth extension installed, which already
defines  OAuthException