remove superfluous methods in output close and connect when these operations were actually happening in other methods. move factory methods for middle and output to static base methods reduces annoying forward declarations and is cleaner. still lots of pulling left to do from output_pgsql_t to table_t to go though
reorganize output_pgsql_t::start so that we might be able to stop it from accessing the tables connection directly