add hack to make foreach binding work when bind to another model on program screen
Use PG to get all contracts (#535)
Merge branch 'master' into production