Created template for openfire base config
Added network-wide postgresql URIs
Switched management of base config to a template