Use nodename instead of hostname
minimize amount of crm_attribute and crm_node calls
Merge pull request #7 from fmherschel/redhat

Patches to make resource agents use nodename instead of hostname and minimise use of crm_* commands