Tests/folder

I added some test for the `folder.js` and added some fixes

Fixes: 

**folder (async)**
 - `callback` was never called (`cb` instead)  
 - return an error in case of an error
 
**folder.sync**
- folder now throws, like the node fs api