Reverts a80f13099, "Avoid temporary table when getting tags for current view", fixes a couple things, and removes the unused Zotero.Tags.getAllWithinSearch(). Fixes #1290
a80f13099