#1031: Class and interface descriptions and summaries were updated

Due to the recent bug fixes and accompanying changes the inheriting of
class and interface descriptions and summaries no longer worked. This
is now fixed and the inheriting of summaries is centralized. This
commit also adds several tests that cover this behaviour