metadata: Fix prepared statements joining on XEP status default tip

Update implementation count query to exclude negative implementation statuses

Fix field name of implementation status in the JSON

(0) -3 tip

mercurial