Major update: State machine skeleton implementation

Added command enum which the client can send.

ProsthesisOS now runs a state machine. Added stubs and skeleton
implementation for most states.