Issue #328: Provide a way to get the last inserted ID from db_merge().
Merge pull request #461 from quicksketch/328/db_merge_result

Issue #328: Provide a way to get the last inserted ID from db_merge().
Fixing broken path to gear image.