Route tracking removed from MainActivity class.

Route tracking is repeatedly restarted because it is part of the
MainActivity class.  This fix extends the Application class, and adds a
reference in that class to the RouteTracking class which now
encapsulates route tracking.