Make type,id as primary key on url table

Make type,url is the most common type of lookup.
No values in this table can be NULL so enforce this.
Primary key is better than a unique key
Merge pull request #273 from openquery/primary_key

Primary key on url table