Add getInstance method
Add getInstance method to RestClient class. To slightly improve performance so we don't keep creating a new instance.
A MockContext should be used as a placeholder for a real Context
and a real Context
added during application initialisation.