Move file stores from Workspace to Scope
This deals with most of #682 (closed), and some of #683 (closed). There was quite a lot of work involved in adapting to scope-level APIs, but the pieces that need the closest attention during review are likely to be the data migration and the changes to management commands.
Reviewable by commit.
Edited by Colin Watson