CORE-2054 Add new "definition" column attribute to differentiate between an actual column name and a function as a column

Need to make sure relation is set when creating Column objects