Fixes #790: InheritedFrom is no longer in XML Structure

The inherited_from pseudo-tag is no longer inserted in the structure.xml XML
AST file. This commit restores that and adds a test for it.