implementation of feature request #1363

Added summary table to query profile
Added sorting to both of the query profile tables
Added a tooltip to the query profile chart