Allow change_id_for() to find multiple IDs.

Reworked changes will have the same name, of course, so that name can occur
multiple times in the `changes` table. So just get the ID of the last instance
committed. Resolves #103.