Changed the way types are copmared in Allure.cs to support inheritance.

Changed 'evt.GetType() == typeof(...))' comparisments to  'typeof(...).IsAssignableFrom(evt.GetType())' to support inherited objects/instances.