[fix] Store a reference to the Log constructor.
[fix] Leave the root raft when we've ended manually.
[fix] Added a STOPPED state to allow multiple executions of `node.end`.
[fix] Clean up log references when ended.
[doc] Document the new events.
[minor] Also pass in the Log constructor when cloning.
[minor] Added missing `.end` method