Revert "Add fclose file descriptor"

This reverts commit 060d5e20523f6bbdabe95d9fd98a46180d4d3d3a.
Crashes parsers - cannot free fp as it is used during parsing.
Fixed (null) type in text zone generator.

fixes 60e9d61d972f3bc5d3740f266d8a38c6e41bf765
refs #2192
Minor fixes and revents sanitization for fdset/kqueue.
Fixed answering DS queries.
server: set correct AR count when domain not resolved and EDNS enabled
Rewritten assert into check.

- Added missing variable initializations.

Fixes #2181 @1h
Added extra check to semantic checks.
Typo fixed.
Added missing NULL check.

Refs #2197

Conflicts:
	src/libknot/zone/zone-diff.c
Check that we have enough RDATA items in NSEC3 RR.

- Would crash compilation with semantic checks on special zones.
Fixed dereference before null check.

Coverity scan #743240 (REVERSE_INULL)
Fixed journal transaction leak on serialization failure.

Coverity scan #743234 (RESOURCE_LEAK)
Improved journal unittests.

Coverity scan #742058 (DEADCODE)
Added debug messages.

Coverity scan #742038 (CHECKED_RETURN)
Added debug messages for TCP sockets.

Coverity scan #742037 (CHECKED_RETURN)
Added more debug messages for journal.

Coverity scan #742035 (CHECKED_RETURN)
Merge branch 'master' into development

Conflicts:
	src/common/heap.c
	src/knot/conf/conf.h
	src/knot/server/zones.c
	src/knot/server/zones.h
	src/knotc.8
Rewritten assert into proper check.

- Added few more log messages.

Refs #2280
Removed outdated libknot tests.

- Most can be reused with new libknot
Removed faulty unused function. (Coverity #742062 #742055)