Fix: the ModelManager should retrieve columns by their phpName (and in a...

...n case-insensitive manner).

Also handles cases where the phpName and the column name are different.