More complete logic for published and probe_type fields.
Quick nil check on inv.user.name act.user.name & etc.
same type for probe_type_ids as investigation, activity
Consistently use material_types. Uppercase class names in form.
resource_page.rb same sunspot type for probe_type_ids as other materials
Search.rb -- the search controller is almost producing correct results.