Track referrers

Impressions now track the referrer for all actions.  To ensure this was as meaningful as possible, a 'status' column was also added, so that an 'incomplete' download action can be created when an item is flagged for download in the download queue.  Without this, all referrers for downloads sent to the queue would be the download queue page or something equally nonsensical.  

This should fix #368