add unique indexes to tables columns that require unique values

https://osraav.atlassian.net/browse/OSRA-252
OSRA-252 #code-review
Merge pull request #158 from PurityControl/db_indexes

Sold!
OSRA-252 #Resolved