Fix a race condition when closing daemon
OPENDNSSEC-550: RFC5155 pre-Errata3441 compatibility.
test OPENDNSSEC-515 and (in the future) OPENDNSSEC-550
Checking unsigned zone should check for SOA RRset
use $GREP instead of grep
Merge pull request #49 from matje/opendnssec-1.3.17s20140324

Opendnssec 1.3.17s20140324