Changed the way foreign keys are generated. They always will be
generated at end of database definition to avoid reference breaking.

Added support for bidirectinal FK relationships.

Minor improvements on RelationshipView for bidirectional FK
relationships.

Added a statement "SET search_path..." on the head o database model SQL
code.