Improve status query performance New: - Split statii table into statii and statii_history, where statii now contains only the latest status reported by the node. This makes core status queries much simpler and faster. Fixed: - Error responses on some queries - Validate/cancel acknowledgement triggers on update as well as insert - Acknowledgement flag returned in status as well as the message to support acknowledgements without messages