Site search now handles domains, published snapshots, and unpublished snapshots appropriately

Fixes #3639 
FogBugz ticket here:
http://manage.dimagi.com/default.asp?118826#679717
`doc_type == 'Domain'` is more efficient. Maybe it doesn't matter though?