OPENDNSSEC-604: Fix the ds-X and key export commands. Also do some nit changes to usage and logging.
Merge pull request #60 from saradickinson/enforcer-ng_usage_updates

OPENDNSSEC-604: Fix the ds-X and key export commands. Also do some nit c...
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.
- Save test output in retries and failed tests
Rewrote ods_enforcer_start_timeshift() based on log_this_timeout, it starts Enforcer is the background and checks for output in syslog and if there has not been any output for the given timeout it kills and fails.
Change two tests that where afffected by previous changes.
Fix ods_process_kill(), wrongly cherry-picked before.
Removed a whitespace
Removed all ods_reset_env timeouts