Handle aliased attributes in AR::Relation#select, #order, etc.

With this we can write `Model#select(:aliased)`, `Model#order(:aliased)`,
`Model#reoder(aliased: :desc)`, etc.

Supplementary work to 54122067acaad39b277a5363c6d11d6804c7bf6b.
Merge pull request #11821 from kuroda/select-and-order-by-aliased-attributes

Handle aliased attributes in AR::Relation#select, #order, etc.