Improve mouselog

1.log page id, rank, href of clicked or hovered results.
2.log page switching behavior (action=GOTO_PAGE).
3.log query reformulation behavior (action=QUERY_REFORM).