Add pluggable validation for PathBuilder

Fixes #975
We might in the future support both boolean and Boolean in Querydsl directly and it doesn't hurt much to do the normalization, so I think the normalization makes sense.