Implemented IO.dup.

Works for ```File``` and ```std*``` only so far. ```std*.dup``` returns ```self```. Dupping files should use syscall ```dup``` to allow dupping already deleted files (changes to GemStone necessary). However, in most cases this should suffice.