states.postgres_user manages user attributes

postgres_user.present will make sure that user attributes and password
are the same as what is passed as arguments.
Also, modules.postgres.user_list can return password hashes.

This is the same thing as https://github.com/saltstack/salt/pull/9722 for Postgres.