Low: tools: handle required node names better in crm_resource
Currently, --fail is the only option that requires a node name to be specified,
but generalize the handling so future options can reuse it.
This also makes the error handling closer to what's done for required resource
names, both in error message and exit status.