Add the CaseClassShape from #692.

Test in JdbcMapperTest.testCaseClassShape. Review by @cvogt 
maybe use Lifted instead of Projection in the implementation code as well?