fs: uv_fs_{open,read}_dir for unix

Tested on Linux, MacOS X and SmartOS.

Fixes #1430
@splinterofchaos Sorry, I had misread your comment. I updated my changes to use _PC_NAME_MAX when available.