rose edit: guarantee cwd for macros.

This change guarantees that a macro or upgrade macro
runs with a current working directory of the
relevant configuration directory within rose edit.
Merge pull request #1114 from benfitzpatrick/rose-edit.app-dir-cwd-for-macro

rose edit: guarantee cwd for macros.