add jdk-test target, and fix failures

The intent of this target is to run our test suite against the installed jre.
This should help prevent our VM from diverging in implementation from the jdk.

The remainder of this commit fixes the problems that this exposes.
Do not test java.util.TreeMap's serialization in the Serialize test

In the Android class path, TreeMap is implemented differently and as a
consequence its serialization is incompatible with OpenJDK's. So let's
test a private static class' serialization instead, to make sure that
the wire protocol defined by the Java Language Specification is
implemented.

This addresses issue #123 reported by Joel Dice.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Merge pull request #124 from dscho/serialize-test

Do not test java.util.TreeMap's serialization in the Serialize test
fix jdk-test failures
Merge pull request #122 from dicej/master

fix various Android test suite regressions and add more reflection tests
Merge pull request #121 from joshuawarner32/master

add jdk-test target, and fix failures
use portable conditional expression in test.sh

[[ expression ]] is bash-specific, so we use [ expression ] instead.