Obligatory formatting/wording fixes
Implement readDir in REST back-end

Refactor request code for readDir, getMtime and pathExists into
_readPath and _readPathSync private functions.
Merge pull request #37 from rrthomas/master

Implement readDir in REST back-end