Refactoring. Moved shared code into separate functions.
Added edit action for DNS module's CLI mode. Hostname editing supported.
Updated changelog.
Merge pull request #41 from mchf/master

Added edit action for DNS' CLI mode - fate#312733
https://fate.suse.com/312733