Added option to merge repositories on import.

Using --merge-existing=1 will now use an existing repository
if one is encountered with the same authorizedFormOfName in the db,
instead of creating duplicates.