move pg:upgrade and pg:maintenance from pg-extras

pulled from https://github.com/heroku/heroku-pg-extras/pull/91