added reachability to determine network status

Added the Reachability methods in AppDelegate. Its on the main thread. Hence when the network status changes (i.e a net is reachable or net connection not available) an alert is shown.