Typed static queries

I'm opening this PR so we can discuss the current state of the implementation.
I tried 
```scala
unmanagedClasspath in Compile += baseDirectory / "src/main/resources"
unmanagedClasspath in Compile += baseDirectory / "slick-testkit/src/main/resources"
unmanagedClasspath in Compile += baseDirectory / "resources"
unmanagedClasspath in Compile += baseDirectory
```
and 
```scala
unmanagedResources in Compile += baseDirectory / "src/main/resources"
unmanagedResources in Compile += baseDirectory / "slick-testkit/src/main/resources"
unmanagedResources in Compile += baseDirectory / "resources"
unmanagedResources in Compile += baseDirectory
```

Neither of them seem to do the trick...