nutconf: another round of bugfixes

--{get|set}-mode options have replaced --mode option
--set-mode option actually sets the mode in nut.conf
libnutscan provides devices list rewinded (i.e. handled by the head)
libnutscan options fixed (so that the 1st is dynamic, too)