Add api retry wrapper method

Add retry mechanism in the event of failed trakt.tv api calls, add as a
wrapper method.