Migration to 0.9 streams API.

Please check over particularly with respect to correctly closing the resources and shutting down the actor system.
and then it can be written as 

    implicit val materializer = FlowMaterializer()

and defining settings for the FlowMaterializer in config of (of the system) is a good default for this kind of intro