correct up/down, change TC registersetting, HMLAN timeout attribut

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2946 2b470e98-0d58-463d-a4d8-8e2adae1ed80
implemented functions for statistics in charts (sum, avg, min, max, cnt)
  - extended 93_DbLog.pm for these statisticfunctions, handling PostgreSQL, MYSQL and SQLITE DBs

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2947 2b470e98-0d58-463d-a4d8-8e2adae1ed80