Feature/messagestore metrics

Sends the unique users metric from message store. 
Minor changes for use with electoral database (not sure why they came in here :/)