Storing anonymous aggregate search query analytics. Closes #374.