Merge pull request #22 from manio/master

Try to fix valgrind detected problems
increased buffer margin of livestreamer, closes #17
code cleanup

- replaced "if / else" constructs with "switch / case"
- set content type of each stream
removed streamindex and added preferred audio language

- removed index based identifying of streams
- streams with preferred language and type get a higher priority now
  this way e.g. all english streams will be on top of the list
try a bit harder if we can't find a device for receiving
made code of StreamChannel a bit cleaner
use language index instead of language code
renamed streamtype "stNone" to "stNONE"
version 0.9.5
schedule reloading of channel list and reload it after 20 secs of inactivity
fixed "dist" makefile target
support for setting the UpdateChannels parameter via the client
fixed line indentation
disabled reloading of channel list

- this causes picture freezes on the client
- disabled by now. may be reenabled later
return proper status on opening a channel
set thread priorities

there are 3 client connection types requiring different priorities:

- data connection: low priority, only message exchange (10)
- live stream: high priority, push stream data (-15)
- recording: high priority, push video data (-15)
wait until streaming stopped before switching to a new channel, thanks Juergen Lock
fix detection of active recording
check if a channel can be decrypted
removed unused variables: NumCamSlots, SlotPriority