Add SQL similarity tracking (#323).

Uses a suffix tree (currently a simple implementation, Ukkonen's algorithm would be better) and gapped string comparison to find SQL queries which are similar to others which have already been made for this request.
Merge branch 'SQL-Similarity-Analysis' of https://github.com/ChrisHurley/Glimpse into SQL-Similarity-Analysis