Optimize FileStore query in Workspace.is_file_in_workspace
By using reverse relations we can make it a single query. In the
process, I added Workspace.file_stores
to return a query set of file
stores in the workspace that contain a given file, ordered so that the
workspace's default file store comes first if it has the file; this will
come in useful for copying artifacts between workspaces.
Part of #396 (closed).