Prevent duplicate categories being added to Category Repo

Integration tests added and pass.  skeleton unit tests readied.