Fix config record comparison

Make sure that two config records, that have been created from Config
objects with keys, that compare equal in annotation type and type
literal do not compare equal. Otherwise, the configuration keys consumed
by those ConfigRecords are not displayed.
Handle SystemExit exception on Python 2.4