More minor speed ups for stated.
Log would be mail messages in stated-mail.log rather than actually emailing them. Fewer regular log messages. Avoid scanning a list unnecessarily if not in debug mode. Use mysql to pick out certain osfeatures. Bug fix: typo would let stated block when sent a SIGUSR1.
Showing with 102 additions and 48 deletions