fix StashJavaAPI test (i.e. make it test something)
make it compile with Scala 2.11.0-M3
Merge pull request #1461 from akka/wip-scala-2.11-∂π

2.11.0-M3: make it compile and fix a test