Make add_reference cop accept a hash for :index
What does this MR do?
It might happen you want to make the reference column have a unique
value, or you want to create partial indexes. So instead of only
accepting a true
value, also accept a hash of options.