handle creation errors more robustly

We have seen strange cases where creation of a new CIB object apparently failed:

  http://pastebin.suse.de/9346

Even though this is strange, we should certainly expect Pacemaker::CIBObject.from_name to return nil in a few cases, so we need to handle that properly.