Refactor three phase into its own algorithm
Fix threephase to not build up infinite stacks
Update StateSteady to use three phase algorithm
Update test cases to actually test & pass
Merge pull request #39 from c00w/3phasesteady

Update StateSteady to Use the three phase algorithm
Clean up after disk tests
Fix some deadlocks discovered in swarm tests
Merge pull request #42 from c00w/master

Testsuite cleanups
Merge branch 'master' into Log
Moved log to its own package + bug fixes.