Ok, tidied up a bit.
I've created a generic routine in HTSPConnection to build TVH webserver URLs given a specific resource (protocol, auth, host, port and webroot are added by the routine).
[tvheadend] process new optional webroot param in htsp hello.
[tvheadend] add support for new imagecache feature.
[tvheadend] create routine for generating web urls and use this in HT…
Merge branch 'pvr.hts'. closes #146