+act Add japi.Pair and japi.Predicate for streams

I will cherry-pick this to release-2.3-dev and master.
I will changing the stream javadsl in a separate commit.