#1346: fix macro running after metadata refresh
#1280: add rename_setting function to upgrade API
Merge pull request #1387 from benfitzpatrick/1280.upgrade-rename-func

rose.upgrade: add `rename_setting` function to API
Merge pull request #1384 from benfitzpatrick/1346.macro-problem-metadata-refresh

#1346: fix macro running after metadata refresh
Fix tests for cylc/cylc#1118

Now submit outputs are in the job activity log.
Merge pull request #1389 from matthewrmshin/cylc-1118

Fix tests for cylc/cylc#1118
Remove job logs database keys

Now that the job logs are nicely arranged in a directory, this sort key
functionality is no longer necessary.