Testsuite, updated the wrong#args results to match the code changes.
Rewrite of cron_lock to Tcl. Larger, more structured, no race condition anymore.