add `ConnectabilityState` and `WorkingState` fields to the host
This PR moves the functionality described in https://github.com/NebulousLabs/Sia-UI/pull/530 to the back-end, exposing two new API fields, ConnectabilityState
and WorkingState
. The commits are pretty easy to follow and should be well commented.