Restructure all of lib.sh and functions-opendnssec.sh.
- Added more checks to functions and made sure all variable are quited and local.
- Removed global syslog_grep_count_variable from lib.sh/syslog_grep_count().
- Added syslog_grep_count2 and grep_this_count2 that echos the count.
- Used syslog_grep_count2 in Enforcer/Signer start/stop count functions and added new global variable ODS_ENFORCER_START_COUNT / ODS_ENFORCER_STOP_COUNT / ODS_SIGNER_START_COUNT / ODS_SIGNER_STOP_COUNT.
- Added 2 new tool depend; pgrep and gsort/sort.
Change two tests that where afffected by previous changes.