set perm grant tickets from env var SRCLIB_TICKET if present
export NewAPIClientWithAuthIfPresent
read API config after flag parsing
accept user auth via SRC_UID and SRC_KEY env vars
newAPI -> NewAPI
Merge pull request #85 from sourcegraph/authed-push

Authed push