Fixed tests to use older pacemaker cib except for acl
Added support for upgrading the cluster cib

- Auto upgrade the cluster cib if we're using acl commands
Load and save CIB outside of resource_clone function
Check for invalid id of resource, group, property, constraint and rule
Fixed tracebacks when resource agent provides an invalid metadata xml