Wq worker parameter fix

Fixes #230, and partly fixes #258.

--foreman-port implements old behaviour of -f.
--foreman-name and -f are equivalent now, imply --foreman, and are used to specify the name of the foreman's name.
-N,-M are equivalent now.