Added db functions for retrieving exact signals from database; restored substring-matching to cmp_match_signal_device_name().