Add get-variables such that a user's searching and clicking behaviors are saved in the log file
Merge pull request #6 from SeerLabs/search-log-click-doc-rank

This will let us figure out which link user clicked on for a given query. Tested on Hung-Hsuan's machine.