Updated to pull playing status from API rather than logfile.
Corrected inconsistant line endings.
Updated comments.
Merge remote-tracking branch 'danstis/Plex-Trakt-Scrobbler/master'
Minor white space cleanup
Split plugin up into multiple files.
New plugin code layout, Some refactoring and improvements to the trakt submissions.

Trakt submission improvements:
 - Keep "watching" status until the very end of the media
 - When playback ends scrobble un-scrobbled items with progress over 80%
Started cleaning up sync.py, chopped long lines. Work is still needed to bring down the massive indent depth (up to 14!) in places.
Refactored pms.py
Working on cleaning up syncing.
Finished splitting sync.py into multiple methods and refactoring duplicate code.
Syncing working again

 - Removed yield expressions (not allowed in plex)
 - Added all() function (not available in plex stdlib)
 - Fixed scrobble and rate methods not triggering the http request
Fixed bug with syncing.
Timeout errors are now caught to ensure the plugin doesn't die.
Merge branch 'clean'
Fixed try_convert function bug
Added "scrobble_users" setting to filter scrobbling to only certain plex users.
Fixed bug where scrobbles weren't being counted when a video finished playing.
Added Trakt.request_retry for retrying requests when timeouts occur on important requests (scrobbling)
Fixed error when checking if we need to sync on startup, Added a check for validity when submitting a playing state.
Fix for trakt data requests while syncing
Fix for missing playing state attributes