terminal: move startdir attribute to a property that can be deprecated
terminal: move startdir attribute to a property that can be deprecated

Same as in Config.

markshao/pytest,Akasurde/pytest,pytest-dev/pytest,RonnyPfannschmidt/pytest