Fixed JSON issue in client.js.
Added schemas for files and folders.
Merge pull request #26 from nh0815/master

Files/folders schema