Better log level control in smartstore plugin and smartsync

(Case insensitive at input, that is.  We could toLower the value we persist.)