Implement open(2).
Add pwrite() to libc and tests for both write() and pwrite().
Clean up after write/pwrite tests
Merge pull request #26 from lance/master

Allow for positional writes on a file descriptor
Add a (preferred) long-receiving version of waitpid.
Add sigdef attribute for posix_spawn.
Add read, write, pread, pwrite, lseek, and pipe (+ tests).
Add a test for posix_spawn. May not work on all platforms.
lseek should take a long offset.
Add ftruncate.
Add fcntlInt that takes one int arg and a no-arg version.

fcntl was modified to take int... but because jnr-ffi does not
support variadic invocation those arguments were never passed to
native. I deprecated the old int... version and added new versions
that pass no args or one int arg. This should cover most use cases
and not mislead anyone into thinking varargs should work.
Use posix.write() directly.
Better tests already in SpawnTest.
Deprecation has no purpose here.
Add getcwd.
Make posix_spawnp return -1 on error, rather than bogus pid.
Add toString to posix_spawn nibbles.
Fix _STAT_VER in some Linux systems

The _STAT_VER used in the __xstat64(), __lxstat64(), and __fxstat64() functions
is wrong in some Linux systems. This patch calls one of these functions in
order to determine the correct value.
Make fchmod available
Make fchown available. I am not really sure how to test this.