Handle read timeout exception

The print calls in nbconnection are temporary for debugging and can be
removed.

Try to handle the following scenario:

16:50:50 T:1176   ERROR: Unhandled exception in thread started by
16:50:50 T:1176   ERROR: <unbound method NBConnection._run>
16:50:50 T:1176   ERROR: Traceback (most recent call last):
16:50:50 T:1176   ERROR:   File
"C:\Users\xbmc\AppData\Roaming\XBMC\addons\script.trakt\nbconnection.py",
line 44, in _run
16:50:50 T:1176   ERROR: self.response =
self.rawConnection.getresponse()
16:50:50 T:1176   ERROR:   File "C:\Program Files
(x86)\XBMC\system\python\Lib\httplib.py", line 990, in getresponse
16:50:50 T:1176   ERROR: response.begin()
16:50:50 T:1176   ERROR:   File "C:\Program Files
(x86)\XBMC\system\python\Lib\httplib.py", line 391, in begin
16:50:50 T:1176   ERROR: version, status, reason = self._read_status()
16:50:50 T:1176   ERROR:   File "C:\Program Files
(x86)\XBMC\system\python\Lib\httplib.py", line 349, in _read_status
16:50:50 T:1176   ERROR: line = self.fp.readline()
16:50:50 T:1176   ERROR:   File "C:\Program Files
(x86)\XBMC\system\python\Lib\socket.py", line 427, in readline
16:50:50 T:1176   ERROR: data = recv(1)
16:50:50 T:1176   ERROR:   File "C:\Program Files
(x86)\XBMC\system\python\Lib\ssl.py", line 215, in recv
16:50:50 T:1176   ERROR: return self.read(buflen)
16:50:50 T:1176   ERROR:   File "C:\Program Files
(x86)\XBMC\system\python\Lib\ssl.py", line 136, in read
16:50:50 T:1176   ERROR: return self._sslobj.read(len)
16:50:50 T:1176   ERROR: ssl
16:50:50 T:1176   ERROR: .
16:50:50 T:1176   ERROR: SSLError
16:50:50 T:1176   ERROR: :
16:50:50 T:1176   ERROR: The read operation timed out
More error handling and fix a debug message

Fix debug message in loop under conn.readError
Add more error handling for reading a successful response
Cleanup debug messages in traktJsonRequest()

Cleanup debug messages in traktJsonRequest(), make them all indicate the
function they're from.
Add a few other debug messages to track flow.
Fixed typo

fix type in if statement
Merge pull request #34 from nate1280/readtimeout_handling

Readtimeout handling