Use shlex.split instead of split():
  - Permit the use of " " for tags named with a space in them
  - Allow to "comment" part of the query (by using # in front of the commented part)
Permit the use of HTML strings (line < > ) inside tags. (Escape using jQuery)