Fixed compiling issues for linux x64.
Static destructor called before classes destructors, writing to output unexpectedly fixed the problem.
Fixed compiling problems with static bindings.
Dynamic bindings load only used functions, to load full libpq you should pass FULL_PQ_BINGINGS version flag. Fixed docs cleaning.