Remove empty block
No need to check for number of keys in a directory listing
Move directory parsing from baseclient to wireclient
Update teste
Refactor cache node handling and new directory caching
Add tests for #putDirectory
Make `local.setRevision` private and use from put methods (refs #535, fixes #543)
Add missing tests for getListing error case
Improve variable name
Remove console output
Merge pull request #544 from remotestorage/bugfix/536-directory_listings

Handle and cache new directory listing format (closes #536)