Membership Authorize.net Class conflict

Today after spending several hours debugging this strange issue we found out that Gravity Form's Authorize.net class conflicts with Membership's AuthorizeNetAIM Class. Please kindly resolve this bug as both plugins cannot be otherwise used together.

Preferred method to resolve this issue is use php's class_exists method.