remove redundant else clauses
Switch gallery to save and load all nupkg package blobs using lower case blob file paths so that we get effective case insensitivity to package IDs. I think InvariantCulture is the standard culture for comparing package IDs.
Merge remote-tracking branch 'origin/dev' into lowercase_blobnames

Conflicts:
	Website/Controllers/ApiController.cs
Fix busted web.config in location = api/v2/package section
Doing some more hardening of App_Start against the database being unreachable.
Move most of the GallerySettings into IConfiguration/Configuration
Add entity framework migration for moving config out of GallerySettings
Harden ApiController, PackageFileService and AggregateStatsService against SQL exceptions
Switch gallery to save and load all nupkg package blobs using lower case blob file paths so that we get effective case insensitivity to package IDs. I think InvariantCulture is the standard culture for comparing package IDs.
Resolve some merge issues and fix some unit tests!
Merge branch 'lowercase_blobnames' into makePackageRestoreRobust
Merge branch 'dev' of https://github.com/NuGet/NuGetGallery into makePackageRestoreRobust
Fix some code review issues and code analysis warnings.
In reaction to security discussion, do explicit request validation to check for legal package ids and versions in ApiController, since we lost the implicit validation that happens by package registration process + hitting the database.
Merge pull request #795 from NuGet/preview

Merge Preview Fixes back to Dev
Provide configurability for fixing InvalidOperationException from repatcha: The default reCAPTCHA API keys may only be used for local requests. Configure your app's own API keys in app settings.
Update-Package PoliteCaptcha -IgnoreDependencies
Hookup the two configuration systems
Merge branch 'dev' of https://github.com/NuGet/NuGetGallery into makePackageRestoreRobust

Conflicts:
	Facts/Controllers/UsersControllerFacts.cs
	Website/Controllers/ApiController.cs
	Website/Migrations/MigrationsConfiguration.cs
	Website/Web.config
Unit test presence of the validation code that protects against evil URL attacks in the unlikely event the database is down and we can't implicitly verify the package id and version.