Allow duplicate names into database

By making sqlite not throw an error when the name is a duplicate.

Fixes issue #5
Merge branch 'allow_duplicate_name' into hamish

* allow_duplicate_name:
  Allow duplicate names into database