Moved builder classes to a separate package

The builder classes, StateBuilder and StateMachineBuilder, are
technically not part of the state machine functionality, but rather
help build state machines.  This functionality should then be in a
separate package.