imported patch java-api

--HG--
rename : lang/python/Makefile.am => lang/java/Makefile.am
rename : lang/python/wiredtiger.i => lang/java/wiredtiger.i
Check for errors when returning keys or values.
Fix whitespace in Java wiredtiger.i.
Generate javadoc into docs/java for the Java API.
Merge with public develop branch.
update / insert typo
Improve configure detection of Java.
Fix detection of javac.
Have JAVAC default to "javac".
Merge branch 'develop' of github.com:wiredtiger/wiredtiger into develop

Conflicts:
	build_posix/configure.ac.in
Fix build issues with the Java API caused by C API changes.
Merge remote-tracking branch 'upstream/develop' into develop

Conflicts:
	build_posix/Make.subdirs
	build_posix/configure.ac.in
Rename cursor equals to compare in Java API.
Have compare return an int not a bool. Add Java implementation for Cursor::compare.
Add the ability to specify a per-connection base size to participants in
a shared cache.
Use WT_REF_LOCKED when reading and resolving deleted pages so that checkpoints can skip over ordinary pages being read from disk.
refs #394
The "max page" size argument to the WT_COMPRESSOR::compress_raw method
was the wrong value, it was the current size of the page, not the
maximum configured size of the object.
Alter the shared cache min configuration to be called reserved.

Associated code changes, and some enhancements to the shared cache
balancing algorithm.
Merge pull request #432 from wiredtiger/shared-cache-base

Add the ability to specify a per-connection reserved size for cache pools.
Fix build warning and a bug in shared cache.