Compile testapp as part of the ant 'test' target.
Re-enable app unit tests

Some unit-tests in app failed, but did not lead to a build failure.
Bugfix: Serializer used locale-dependent number parser.
Merge branch 'hotfix/build-enhancedtests' into stable-3.0.x