Compile qualified wildcards.

This is good, it would be nice to get another test in here demonstrating nesting, e.g. something like `select foo.bar.baz.*, bar.address from foo`. This is a perfectly sensible query in the nested document world.