Fix weird value for SRID on non spatial types (issue #80)
Partially fixed a bug on paste tables with manually added fk's. The fk's
are now created as well the fk relationships. Some cases still fail
(invastigating)