Deal with a postgres issue with setting Ids

Postgres doesn't support the LastInsertId function on *sql.Result, so
instead we added features to interfaces to utilize the RETURNING
functionality in SQL to return the id we inserted.