DATAMONGO-924 - Improve aggregation field reference resolving.

Previously we didn't support referring to aliased fields defined in former stages of an aggregation pipeline. We now also consider field aliases during field reference lookup.