Fix error with 'sort=asc' without 'order'
Don't include orphaned tags in /tags responses

Tags not associated with any items (e.g., after an item delete) are
purged automatically in the client but not (currently) on the server.
This way we can at least make sure they don't show up.