Fix: libpengine: Change some uses of resource_t and node_t.
This only changes the output-related references of these to
pe_resource_t and pe_node_t. The other names are deprecated. We might
want to put a deprecated attribute on them in the future.