Minor bug fixes.

[allowing test to resolve to localhost with/without localdomain.](https://github.com/aelgru/yadt-config-rpm-maker/commit/ed3d41f06b75617d73ee7bda9fa5b2c0ef0375c0)

[making tests more flexible by matching instead of testing](https://github.com/aelgru/yadt-config-rpm-maker/commit/1af18a1015a8ad2fdaaee394a05aee0763b87002)

Some refactoring:
  * a new package called "cli" which contains all command line interface modules
  * a new package called "utilities" which contains logutils, magic and profiler modules