Rename nodes-with-roles to targets-with-nodes and add nodes-with-role in pallet.crate

Actually, nodes-with-roles is misleading as it returns targets instead of nodes. This PR renames it to targets-with-role and adds nodes-with-role, which returns nodes as expected.