[pvr.tvh] Refactored htsp response error handling.

No functional changes, but a lot of cleanup. => 34 additions and 102 deletions