Completed implementation of perf tests in Java.

Added support for option TCP_NODELAY.
Added {local,remote}_{lat_thr}.java implementations.
Check level and option values when getting and setting options.
Added several missing constants in NanoLibrary.
Added bin/perf.sh, a script to easily run perf tests.
Fixed file permissions for damned cygwin...