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 various Android test suite regressions and add more reflection tests

Most of these regressions were simply due to testing a lot more stuff,
esp. annotations and reflection, revealing holes in the Android
compatibility code.  There are still some holes, but at least the
suite is passing (except for a fragile test in Serialize.java which I
will open an issue for).

Sorry this is such a big commit; there was more to address than I
initially expected.
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.
Merge pull request #125 from dicej/master

use portable conditional expression in test.sh
Use 0777/0666 permissions when creating dirs/files.

Just like openjdk, we now depend on the processes umask (0022, for
instance) to mask that into 0755 or 0666, for instance.

This fixes #57.