Package .so file with JNI jar
Class IDs and method IDs should not be cached
Caching methodId and fieldId is fine
Revert wrong commit
Caching methodId and fieldId is fine
Caching methodId and fieldId is fine: v2
Some fixes on size compensation logic for deletion entry in compaction

Summary:
This patch include two fixes:
1. newly created Version will now takes the aggregated stats for average-value-size from the latest Version.
2. compensated size of a file is now computed only for newly created / loaded file, this addresses the issue where files are already sorted by their compensated file size but might sometimes observe some out-of-order due to later update on compensated file size.

Test Plan:
export ROCKSDB_TESTS=CompactionDele
./db_test

Reviewers: ljin, igor, sdong

Reviewed By: sdong

Subscribers: leveldb

Differential Revision: https://reviews.facebook.net/D19557
Merge pull request #195 from ankgup87/master

[Java] Package .so file with JNI jar