compliance_check_resources: Rename `type` column to `resource_type`
Created by: teddywing
The Java application needs a resource_type column to be able to store
the class/object that was validated by the resource's check. Since we
don't need or want Single Table Inheritance on this table, rename the
existing type field to resource_type.
Refs #4953