Introduce connection module

Introduce a module "connection", that encapsulates the
communication with the scope. This module evaluates and
buffers received data.

Extract functions for interactive commands. Every command function
receives a pointer to the connection to send commands and access
the response buffer.
Strip whitespace from commands and params

Skip empty commands.
Add feedback to save command.