Audit do not properly display and search on partition tables and provisioning templates
Because of STI, audit log saves "Template" as auditable_type for both types. We should separate it. Also we should print the right class in audit log for new audit records. That should also enable searching audits based on this type, e.g. "partition_table = aaa" or "provisioning_template = bbb" instead of current "template = something" which searches in both.
Fixes #20708 - fix templates auditing
Templates were audited under parent class. This keeps separate audits
per template type and allows searching by provisioning_template and
partition_table names. It also fixes broken associations in