Fix foreign key dump in pg 9.3

So, we now generate the correct schema.rb with this, but I am not sure about the sql.  I'd like to get some opinions on how we want to proceed.