Sync records

**When chaning an input**
- Adds `data-dirty` attribute to its `<td>` and `<tr>` parents;
- Adds “Sync” link per dirty `<tr>`.

**When clicking the “Sync” link**
- Only updates said dirty cells of a record.