fix typo in query
fix bug in remoteDoc.remove
use the segment based accessors internally
work on todos example
rename Model/scope.js => Model/paths.js