update didChangeState() of the advertiser

When advertiser accepts the invitation, its state is changed so we call
didChangeState() and stores its details (peerID and state) so that we
can send a notification to the browser
update browser's viewDidLoad()

Once the advertiser has accepted the invitation, it sends its
info(peerID and state) to the browser through a notification

We modify our viewDidLoad() so that we can accept the notification from
the advertiser so that we can call peerDidChangeStateWithNotification()
arrConnectedDevices

array to store the list of the peers currently connected and to display
them to the tableView
peerDidChangeStateWithNotification()

updates the arrConnectedDevices and tableView for the browser peer
depending on the state of the advertiser