break postgres fiddling out into separate script
split test.ini setup into own script
save to explicitly named file; i.e., protect against renaming file
put everything in shell functions
Merge pull request #2 from openspending/master

updates