Refactored performance measurement code

Changed code to use a Context and an AppRTCClient instead of an
AppRTCActivity, will be needed when this is moved to the service.
Changed handlers to use an adapter object to record data, instead
of directly accessing the span and point performance data objects.