Refactor: scheduler: make digest calculation more efficient
Previously, calculate_main_digest() create a transient instance of an action
using custom_action(). However, it only needed the action's meta-attributes and
action-specific resource instance attributes. Use the new parsing functions to
get just those, allowing us to avoid the rest of custom_action()'s processing.