Fixed dependency between functions and tables

Tables are types too
Dropped inheritance deptracking at statement generation time

This fight with the new deptrack strategy. Note that there is a similar
one in the delete side, but we need to care of that in a _drop method,
like in the other objects, not here.
Dropped dependency set by the table on the constrants

They were only used to get the table name. We can do without.
This was part of an attemp to kill the entire link_refs section but it's
actually a die hard, so I'll take a different approach: see who gets in
the way and kill attribute by attribute until there is no tangle that
stops the global dependency tracking. These functions that create my
table, for instance...
Avoid to create tables too early because they are function arguments
Quote names of the constraints needing it

Already fixed in #83 but we have forked off before.
Dropped ad-hoc dependencies between types and base funcs

They were causing a decorator to spew an ALTER ... OWNER TO on a
function not created yet (because we were waiting for the type to create
them... but the decorator didn't wait)