Fixed an inconsistence when removing a table before the fk relationship
linked to it. For now on (to avoid crashes) user must remove the
relationship first and then remove the table. (issue #310)

Fixed a minor bug on TableObjectView that was incorrectly configuring
the column descriptor for self-relationship fk's