Initial commit.
FailureDetection for leader and member started as thread. Depends on a
MembershipState (which can be changed later on).
Had to remove a dead 'import' statement.
Brought corrections to failure detection. Created Machine object to
record port information.
Merge pull request #3 from hhy/daniel-failuredetection

Merge changes from failure detection branch