external.py: Converts all assertEquals calls to assertEqual

As the assertEquals call is being deprecated, all of its calls must
be converted to assertEqual.
external.py: Improves success checking in AddDeleteEnableDisableFromDB