__postgres_role: make state parameter optional, fix password parameter checking in gencode-remote
__postgres_role: check if state parameter exists before reading it
__postgres_database: make state parameter optional
++changes

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
Merge branch '__postgres_role-changes' of https://github.com/nuex/cdist