Fix java binding for cs2 branch
Minor changes for x86 compatibility
Let jna handle alignment, reduce performance but more cross-platform
Clean up unused code and some coding style
Merge pull request #55 from danghvu/master

Update Java binding for new API