bz19897: changes for spliting search terms

The new algorithm is to just find alphanumeric chars and ignore the
rest.  This fixes the issue with the "-" character acting funny.
Only display duplicate downloads once on the download tab
bz19887: Set deleted to 0 instead of NULL for non-file items.

This makes the WHERE clause in the query get those items.