fix: Fix commit payload structure
Fix the structure of the commit payload sent by the Web IDE to ensure that commit requests trigger conflict errors.
- Send last_commit_id for every commit action unless a file is deleted or the branch is new.
- Remove the leading slash from file paths.
Edited by Enrique Alcántara