Fix memory leaks

Fix two memory leaks:
- [Appirater connectedToNetwork]: testConnection was not released.
- [Appirater showRatingAlert]: alertView was not released.