Support projection queries on structured and repeated properties.

WARNING: Projection queries on multiple repeated properties are still not working.