CLOUDIFY-2532 replaced use_existing flag with create_if_missing, added some in-code documenation, fixed some validation bugs and added more logging