Adopt HA data model to the new layout of daemons information
In #233 (closed) we have added new SQL tables dedicated for holding information about the daemons. The HA service tables should now refer to these tables rather than the tables holding apps. This is going to ease displaying the HA status in the dashboard, it will generally make the HA status more accessible.