Speed up callers: and called-by: queries by replacing SQL subqueries wit...

...h joins.

Fix incorrect condition in SQL (callers.callerid = target.id) that was
preventing indirect call results from appearing when searching with callers:.