Adjusted testsignals program for no-duplicate-signal-names.
Update evaluation of signal direction.
Update protocol for removing signals to match protocol for reporting them; added db functions for retrieving signal by name regardless of direction.