Do not capture stderr when reading heroku config.
Set origin and rebase on the master if it has not been done.

Fixes #521.
Merge pull request #557 from knu/heroku-reset-repo

Set up the work tree for user in bin/setup_heroku.