sql: prevent empty "IN ()" (#652) + minor fixes

(component only, modules and plugins not checked yet)
frontend venue view: rename "filter" to "filter-type" (fix #761)
backend categories: ensure JFormFieldList is loaded