don't warn about sudo on windows

fixes #2984
Don't include configured source credentials in lockfile.
Simplified suppress_configured_credentials and made it run on Ruby 1.8.
Merge pull request #3049 from lhz/fix-configured-credentials-in-lock

Don't store configured source credentials in Gemfile.lock

Conflicts:
	CHANGELOG.md