Dissolve libknots between libknot and knotd
The functions in the static library libknots (src/common/*) can be probably split between libknot and knotd.
Some functions (e.g., debugging) may be left there. But hopefully only stuff which are internally.
Notes:
-
libknotmust not have any dependency on headers outsidesrc/libknot. -
common/errcode.his needed inlibknot, otherwise the library will be unusable.