Command to change the ownership of all relations in a database

This pull request implements a new command to change the ownership of all tables, views, sequences, functions, aggregates and schemata in a database at once.

This is useful when creating new databases from a template and setting the correct ownerships for the new user.