Electrolytic production, recovery or refining of metal powders or porous metal masses