cf-dc-api: fixed return bug
yumclient: added template-based implementation with just empty+insert_lines