[SourcesManager] Inform users about pre-release updates

Closes https://github.com/CocoaPods/CocoaPods/issues/2460.
[SourcesManager] Properly check the last version for update prompt.