Add UserQuery entity
Move engine query log process from search engine classes to controllers
Update SQLite database reference
Merge pull request #574 from nlegoff/userquery

[3.9] Add UserQuery entity