Patches for a new motd emitter

This is following https://bugzilla.redhat.com/show_bug.cgi?id=995537. In future we can decide on the motd templates as nothing exists for now. 
Hmm, that must be a bug in DNF then... Let's pretend that it's intended... like the ```readline``` module...