Ensure function installation into the db is before comment generation
Function signatures cannot be obtained until after functions are
put into the database. This means that comment SQL cannot be generated
before functions go in. Alter the big install/re-install targets to
be sure that things happen in the right order.
The user can still invoke the "installcomments" target without having
all the functions installed. In this case comment installation fails.
It is up to the user to install things in the proper order, as with
tables and views, when invoking targets that install piecemeal.