BZ #1172366 - better verification of pacemaker resource creation

https://bugzilla.redhat.com/show_bug.cgi?id=1172366

When adding a pacemaker resource, really make sure it has been
added so that other resources that depend on it will not fail.