Update the database scheme

- Do not bother storing the version, directly store the sources file name
- Store the sources md5sum as provided by fedmsg and use it in the unique constraint

Update the function accordingly
Update the get_sha1sum method in utils.py to the new database design