Make Liveness a stateful object.

To allow to query various liveness params, like live_in, live_out, etc.