Patch handle stringdata

Intended to patch the STRING_DATA handling.

This PR is a bit wide since it contains previous work on the sendString method (in another PR). I've added debug messages to better understand what's going on `export DEBUG=firmata` to activate.