Update Future.onSuccess to take a PartialFunction.
Update Future.onSuccess to take a PartialFunction.

It has now the same signature as in Akka.

felixmulder/scala,shimib/scala,jvican/scala,felixmulder/scala,slothspot/scala,jvican/scala,scala/scala,martijnhoekstra/scala,slothspot/scala,slothspot/scala,jvican/scala,scala/scala,martijnhoekstra/scala,lrytz/scala,jvican/scala,martijnhoekstra/scala,felixmulder/scala,jvican/scala,felixmulder/scala,felixmulder/scala,slothspot/scala,martijnhoekstra/scala,slothspot/scala,scala/scala,slothspot/scala,martijnhoekstra/scala,jvican/scala,lrytz/scala,lrytz/scala,scala/scala,lrytz/scala,felixmulder/scala,martijnhoekstra/scala,shimib/scala,felixmulder/scala,shimib/scala,lrytz/scala,shimib/scala,jvican/scala,scala/scala,slothspot/scala,scala/scala,lrytz/scala,shimib/scala,shimib/scala