Use template for setting up postgres databases

Seems to be the cleanest way for ensuring databases are always created
with UTF-8 encoding, if for example the admin has not configured the
system locale.
Use alaveteli_ as database prefix rather than foi_

Clearer what app the database belongs to