Fix update of CIB with many resources
Fix update of CIB with many constraints
Pass xml to cibadmin using stdin instead of command line

* replace remaining 'cibadmin --xml-text' with
  utils.replace_cib_configuration
* remove unused function utils.add_to_cib