fixed rpmbuild warning of missing file
encoding: all encode methods are using utf-8 coding instead of default ascii
using write_to_file py2/py3 compatibility write function
replaced 'unicode' conversion functions with 'ucd' (RhBug:1095861)
takes non-ascii cmd line input (RhBug:1092777)
cosmetic: replaced yum with dnf in comment
doc: packaging: add license block to each .rst.
New version: 0.5.2
build: 0.5.2-1
logging: Base.close() should not log to the terminal.
logging: improve how repolist logs the total number of packages.
tests: mock.assert_has_calls() enforces its iterable arguments in py3.4.

It does not communicate this awfully nice, i.e. gives random tracebacks and
test failures. Truth be told the API has always been documented as taking an
iterable.
removed unique function
remove: bunch of (now) blank config options.
remove: dnf.yum.config.writeRawRepoFile().

Not used.
repo: improve the RepoError message to include URL.

Hard to debug the error otherwise.

Related: RhBug:1104757
cosmetic: empty set inicialization
cli: added -4/-6 option for using ipv4/ipv6 connection (RhBug:1093420)
cli: refactored transfering cmdline options to conf
doc: phrasing in ip_resolve documentation.