We wanted to remove actions as this was leaking how we store things internally
and was direct access to one of the member. This introduces filemap() which
yields a map of filename -> action, args, msg.
mergeresult.actions has been deleted as it's no longer required.