Add more Javadocs, especially in the StateMachine.
Fix up one Javadocs comment.
Merge pull request #29 from ggp-org/javadocs

Add more Javadocs, especially in the StateMachine.