Added POSIX#dup
Added POSIX#dup2.
Merge pull request #19 from akiellor/dup

Added POSIX#dup
Fix bad use of unimplementedNull in an int method from #19.