The connection now uses ONLY_FULL_GROUP_BY when connecting and also forces ANSI SQL, this is reflected in the query codebase. Also the comment count fields are added in this commit. refs #4179
Add all untested files from incubator's library/Icinga to working tree library/Icinga refs #4257