Smarter signalling. Smarter, generally.
Smarter signalling. Smarter, generally.

hys_backend:
* New message response control. Now we check for the proper ending
  character for messages that are sent to the halfy, instead of
  waiting for some return characters to appear and hoping we got
  them all. signaler will now return immediately after recieving
  its response and timeout at 5 seconds.
  * halfy now has timeout=0 so that we can do nonblocking reads on
    the serial port, which allows us to do the above.
  * signaler no longer needs command_type, it just pulls the first
    char from message.
  * Using the char above, signaller sets an end_char of 'T' or ')'
  * signaler then loops, grabbing response_chars and adding them to
    response_list, for up to 5 seconds or until it grabs a char that
    matches end_char
  * signaler either returns a valid message or throws an error. This
     obviates a bunch of error handling code below, yay!
* Tidying code due to above changes:
  * check_command is unnecessary, removed.
  * Calls to check_command and associated error control in
    get_single_status, set_single_status, connect_all, and
    disconnect_output has been removed.
* New function get_out_string:
  * Returns a comma-delimited string composed of the active outputs.
  * Used in connect_all and disconnect_all to generate single line
    halfy commands.

thebopshoobop/halfyserial,thebopshoobop/halfyserial,thebopshoobop/halfyserial