Change the click tracking route to be CatalogController#track.
CatalogController#update is often used for other purposes (e.g. Hydra,
Spotlight)
Pass the click tracking url as the data-context-href attribute
make sure query params are with indifferent access
replace our event handler with a customized version of $.rails.handleMethod
send the original url to catalog#track, and redirect to it after we record the track
Update #url_for_document to use the current controller for any SolrDocument without a custom #to_model