Fixed query parser, it now builds sensible lucene queries (special:all and type:xxx supported)
Added Type an Flags to index