Fix widget not being set to correct modes in errorsHandler (refs #740)
Fix widget not being set to correct modes in errorsHandler (refs #740)

stateSetter actually returns a function instead of setting the state
immediately, so it needs to be applied from errorsHandler.

untitaker/remotestorage.js,untitaker/remotestorage.js,remotestorage/remotestorage.js,lewisl9029/remotestorage.js,lewisl9029/remotestorage.js,remotestorage/remotestorage.js,theWebalyst/remotestorage.js,mcanthony/remotestorage.js,remotestorage/remotestorage.js,mcanthony/remotestorage.js,theWebalyst/remotestorage.js