add functions open() and creat()

git-svn-id: http://redtamarin.googlecode.com/svn/trunk@1464 7706bf9e-9b31-0410-a4d0-35bcb8a95c49
finnish dirent implementation, add functions dirfd(), fdopendir() [need custom impl. for OSX], rewinddir(), seekdir() and telldir()

git-svn-id: http://redtamarin.googlecode.com/svn/trunk@1465 7706bf9e-9b31-0410-a4d0-35bcb8a95c49