Only use the GITHUB_API_TOKEN if it's not empty

Also, for consistency use ENV[TOKEN_KEY] across the board.
Issue #231 add to changelog
Merge branch 'master' into 1.0.x