Tracking elapsed time of a query, visible in query view. 

Storing the elapsed time of a query in MongoDB, this is viewable within
the query page. 


I don't write much ruby, so let me know if this needs to be modified :)