add missing methods on opaque pointer
fix NPE
fix javadoc warnings
expand test coverage
Merge branch 'master' of github.com:twall/jna