On retagprompt, append a comma

So we don't have to remember to type the extra comma before typing a new
tag.
in retagprompt, sort the tags

So the tags are in a predictable order.
retagprompt: skip empty tags

(and so avoid having a leading comma)
Merge pull request #659 from foobacca/improve-retag

Improve retag