Add retry support for trakt requests

Add traktJSONWrapper method to enable retry support for failed JSON
request to trakt.  Will rety upto 3 times before out right failing a
request.