Migration no longer pollutes schema.rb with sequences already assigned to tables

Using a slightly modified version of the SQL found at the bottom of
http://wiki.postgresql.org/wiki/Fixing_Sequences we now only put
sequences that aren't assigned to a table and are visible into
schema.rb.
Merge branch 'schemarbFix'