[FIX] allow to pass an empty string as argument to an option
test_cli: add test to showcase the problem of persistent switchattr values
cli: fix bug with persistent switchattr values

makes switchattr descriptors save its values in dictionaries on the
respective instance.