Add other Risk Assessment-related objects to LHN

Also clean up extension mechanisms, a bugfix for `mapping_counts`, and fixups for attribute declarations in `RiskAssessment` and `Template` objects