web frontend for daemon

I implemented a web frontend for the daemon using javascript with jQuery.
So far it only implements searching and downloading of files, as well as displaying the current download queue.
But this is already quite helpful and usable.
(This is th cleaned up pull request with just the web frontend changes.)