Check out of sync data bytes

Check if the first byte on board.currentBuffer corresponds to a valid
command.  If not clear the buffer to prevent errors due to out of sync
data (this might happens on small boards - such as Raspberry Pi - when
cpu intensive processes ar run)
remove tabs
fixed missing semicolon & !==s
Merge pull request #51 from elaval/master

Check for out of sync data bytes