Handling of debuglink messages moved to state machine object.
DebugLink implemented in StateMachine
Sanity check
Fixed basic mnemonic tests