Beginning of generic sensor code to link serial and ethernet sensor code.  Probably a better way to generalize with boost asio stream, but documentation is opaque and I do not have time.
Rolled back LirSQLiteWriter to remove flow meter code