* feature: Added app_state support for applications #5068
* moved schema file 173 -> 174
* Re-arrange code
* added device_id to dbUpdate call
* updated function + missing apps
* Rename 174.sql to 176.sql
* Remove $device, it is unneeded when updating. Rename update_applications() -> update_application()
* Some apps can return simply 0
* feature: Allow customisation of rrd step/heartbeat when creating new rrd files
* revert defaults
* added docs + webui config option
* Move RrdDefinition to an Object to make them easier to create and remove the possibility of typos.
* Fix style/lint issues and missing use statements
* 3 more missing use statements
* updated doc + moved schema file
Polling must have access to stats for the device, port 8082 (Agent file could be added to avoid that)
**Graphs:**
Questions
Answers
Cache Performance
Cache Size
Outbound Queries
**Graph changes**
generic_multi:print_total added, allow per-dataset colors, document variables
generic_multi_line: allow per-dataset colors, document variables