reworked sync state handling to prevent 'ready' event from being fired before all tasks are done
reworked sync state handling to prevent 'ready' event from being fired before all tasks are done

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