Typed static queries

I'm opening this PR so we can discuss the current state of the implementation.
Completed in [commit 49a7d84](https://github.com/Radsaggi/slick/commit/49a7d84a1b2cef0a5c606c0d4944f29ad127187b)