Import ParameterDirectives from spray

This builds on top of https://github.com/akka/akka/pull/16091, so you can ignore the first commit.
It's really nice how simple the API is. Once you've understood what a `Poly2` is, this is really straight-forward.