[db] changed TopicProfile stddev to std like Node and Host profiles
implements combined std information, reduces amount of math needed to be
performed if you only have one message
[db] removed unnecessary checks for empty values since they are
protected by the if statement