AngularJS-ification of the Web front-end.

This seems to bring parity of functionality, with less boilerplate.

I also took the liberty to change the `/query` endpoint slightly, to avoid duplicating some logic in there.

/cc @sosedoff .. btw, thanks for starting this :)
Thanks for the feedback.  Do you want to take a shot at it and refactor it a bit ?

It's better if more people get their hands dirty.