def create!(klass, author, params, extra_log_info = {})
      perform_action!(:create, klass, author, extra_log_info) do
        klass.create!(params)
      end
    end
def create!(klass, author, params, extra_log_info = {})
      perform_action!(:create, klass, author, extra_log_info) do
        klass.create!(params)
      end
    end
Calls the `create!` method to the given class and sets the author of the version.

 klass - An ActiveRecord class that implements `Decidim::Traceable`
 author - An object that implements `to_gid` or a String
 params - a Hash with the attributes of the new resource
 extra_log_info - a Hash with extra info that will be saved to the log

 Returns an instance of `klass`.