Java: Add test helper routeAsync to return Promise<Result> (fixup)

Minor fixup to @markusjura's PR #2715. I'm submitting a new PR instead of waiting for a fix on the original PR because this change needs to be merged quickly.

Commits not squashed so as to give proper attribution.