Added demo app

... and hacked around a small postgres/django startup race condition.