Modernized code.

- Did a fair amount of debugging to get it working, again.
- PyHdHomeRun-related changes.
- Eliminated all syslog/filelogging. Replaced with stream-logger for now.
- Eliminated error return. We now throw a code with corresponding message and data.