http: new (un)marshalling infrastructure

This PR provides the first bits of the new akka-http module: the new (un)marshalling infrastructure required by @huntc. It ports everything we have in *spray* into a new an improved streamified (un)marshalling design (incl. multipart support).

/cc @jrudolph 
I mentioned it first ;-)

> On 18 Jul 2014, at 7:36 pm, Mathias <notifications@github.com> wrote:
> 
> In akka-http/src/test/scala/akka/http/MarshallingSpec.scala:
> 
> > +import org.scalatest.{ BeforeAndAfterAll, Matchers, FreeSpec }
> > +import akka.util.Timeout
> > +import akka.actor.ActorSystem
> > +import akka.http.marshalling.{ ToEntityMarshallers, MultipartMarshallers }
> > +import akka.stream.{ FlowMaterializer, MaterializerSettings }
> > +import akka.http.util._
> > +import akka.http.model._
> > +import headers._
> > +import MediaTypes._
> > +import HttpCharsets._
> > +
> > +class MarshallingSpec extends FreeSpec with Matchers with BeforeAndAfterAll with MultipartMarshallers {
> > +  implicit val system = ActorSystem(getClass.getSimpleName)
> > +  import system.dispatcher
> > +  val materializerSettings = MaterializerSettings(dispatcher = "akka.test.stream-dispatcher")
> > +  implicit val materializer = FlowMaterializer(materializerSettings)
> Indeed: #15551
> 
> —
> Reply to this email directly or view it on GitHub.