filter out empty sockpuppet fields

If in a report, someone doesn't fill out all sockpuppet fields, do not
retain the empty ones.
Use a normal .trim() on the sockmaster name

This should prevent us ending up with pages like [[Wikipedia:Sockpuppet investigations/ Justme78783]]
Replace another trimRight with trim