improve test
fix query on couch
move query spec
add init method on SyncStorage and isAdvanced concept on simple storages
fix typo