1. Implemented UISearchDisplayController & filtering search history query logic.
2. Implemented network failure handling when fetching image search results. Added a didFailToFetchQuery delegate so that delegate can display an error if the network is down.
3. Cleanup and more comments.