add id for queries if id is undefied
track round time for action and queries
typo fix
changed name of index on time_queries_actions table
Merge pull request #308 from scrollback/query-time

track round time of queries and actions