This commit includes
- additional data indexed by solr (ticket stats, custom fields, etc)
- a new search function search.search_artifact which will restrict returned
results to only a particular artifact type AND automatically does the conversion
from human-readable fields (ticket_num, status, etc.) to SOLR fields (ticket_num_i,
status_s, etc.)
- test of the above syntax
- Minor fix to templates that helps when your DB/session is really messed up
- Another minor fix to search that deletes artifacts from solr when they are deleted