Fixes and cleanups

Avoid methods that work with Java's stupid modified UTF-8
encoding. The real world works with regular UTF-8 and Java
would choke on that.

Fix incorrect use of DeleteLocalRef on a GlobalRef that
caused memory corruption on OSX when the kernel dropped
notifications.

Send full FSEvents flags.

Trim down Java code (remove all *Adapter classes that
we don't actually use)
Whitespace cleanups in native code
Merge pull request #2 from aerofs/fixes

Fixes and cleanups