minor fixes in settings; rough validation of function name (no special chars); added FroxlorCliInterface and test-file to play around with the api

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>