cxxll::pg_prepared: Increase const correctness

Many member functions were marked as const, but actually were not.
cxxll::prepared, cxxll::pg_put_copy: Avoid pointers to connection handles

This change increases memory safety.