Add receiveN to JavaTestKit. Fixes #3029

receiveN was already available for Scala testing.

As part of the router documentation work I added a partial, undocumented receiveN implementation for Java. This PR finishes off the implementation.