Implement checkExceptionInheritance

Directly navigated the tokens (didn't use the structures of classes/structs/unions, as I saw that after).

Seemed simple enough navigating directly I guess.
Also updated the test file (now that we've sorted it.