Fixed a bug in the query parser.

An empty query would previously throw an IndexError - it now correctly throws a
SyntaxError instead.
Corrected some naming errors in the utilities test.
Wrote the HTML frontend to myweb.