Wired up share modal to query is_public
removed unsed method on query.js.
Merge pull request #1309 from opf/feature/toolbar-query-share

Feature/toolbar query share