Add buffer / smalloc stubs.
Extend buffer / smalloc stubs.
Add support for readdir / readdirSync
Update README.md