Change posix module to optional dependency

- Add posix to optionalDependencies in package.json
- Change config.coffee to allow posix to be optional
- Change index.coffee to allow posix to be optional

Fixes #556
Fix invalid windows regex
Merge pull request #563 from jenius/sjs/fix-posix

posix and regex fixes for win32