Update psql.py to deal with multiple apps.

Run `./psql.py` to connect with app 'hellolily'.
Provide an app name as the first argument to change the app, i.e. `./psql.py staging`.
LILY-536: mgmt cmd "index" with targets