nodejs example server: added clearCaptured for use in tests
fixed util.pathParts to return parts in correct order
added test to check that getListing causes a request for a directory listing, if no force flags are set on that directory or it's parents.
implemented sync.isForced to detect if there are force flags on a node or it's parent
moved sync.isForced to store.isForced (isForced only accesses internals of local nodes, so no reason to have it as part of 'sync')
BaseClient#getListing: attempt to fetch directory listing from remote, if it's part of a tree that isn't synced
fixed trivial_exampleserver tests to use 'store' internals instead of BaseClient methods to check local state - otherwise these tests would be broken by recent changes to BaseClient#getListing
BaseClient#getListing: fetch listing from remote, if no force is set on directory or parent
started adding setNodePending
unpack binary nodes regardless if they are said to contain JSON data or not (due to a legacy bug, some storage accounts still have JSON data that is Base64 encoded in storage. this commit should make that data work again, and eventually get rid of it, as soon as those nodes are touched)
added 'cache' parameter to storeFile, which allows skipping cache. updated documentation
added store.setNodePending
implementing direct-push in sync.updateDataNode
unit tests for store.setNodePending
integration test for BaseClient#storeFile with cache=false
exampleserver test: sort directory listing before comparing
teste suddenly cares about Array order (which it should) -- fixed tests to accomodate
re-added images example and updated it to skip cache
Merge branch 'master' into bugfix-binary-encoded-json
don't fire wireClient events more than once (so that the widget won't fire 'ready' twice in turn, fixes #242)