DB IDO: Add endpoints/endpointstatus tables.

Refs #5636
DB IDO: Send endpoint authority for status updates.

Refs #5636
DB IDO: Clean schema.

Refs #5636
Move cluster endpoint/jsonrpc functionality into libremote.

Refs #5690
Refs #5636
DB IDO: Set is_connected=1 on identity==node.

Refs #5636
DB IDO: Add endpoint id to history tables, part 1.
Fix Windows build.

Refs #5636
DB IDO: Additional endpoint object id tables.

Refs #5636