Add script function to trigger a manual rating.

Rename manual_sync.py to script.py
Add a script function to trigger a manual rating from either a keypress association, or from within a skin.
Can manually rate a movie, base tv show, or episode.
Use, RunScript(script.trakt,action=rate) to trigger a manual rating.
Use, RunScript(script.trakt,action=unrate) to trigger a manual unrate.
Can rate a library item as well as a non-library items.
Check the type of media currently selected based on the currently visible container  (movie, tvshow, season, episode).
Allow overriding the media_type and ID for manual rating.
Support rating parameter to directly rate an item.
Add error checking when getting data from XBMC
Add setting to allow re-rating of media.
On a re-rate, selecting the same rating unrates media, this is the same behaviour as the website.
Change rating dialog focused rating string to mimic website behaviour if unrating
Signal service thread with type of media and DB id of currently selected item to perform a manual rating.
Use JSON for the data passed to the service thread.
Add signaling check in service thread for manual rating.
Clear properties used when calling manual functions, as to not re-trigger them if service crashes before clearing properties.
Add isShow, getShowDetailsFromXBMC and isValidMediaType helper functions.
Add supporting calls to traktapi class.
Alter check for status/error fields in traktRequest, since show summary has a status field which is not success/failure, this caused an error.
Rename getShowSummary to getEpisodeSummary
Rename getTVShowSummary to getShowSummary
Add season/episode to rating dialog, now shows <Show> - S##E## - <Episode Title>.
If media is already rated, and re-rating is not enabled, always show notification, even on a rate after a scrobble.
Add ability to show notification that a show/episode/movie has already been rated.
Make already rated notification more descriptive
Make rating submission notification more descriptive
Add new notification header string for ratings
If re-rating media, set current rating as focus on dialog.
Add debug line when no rating is returned from dialog (usually signifies it was closed)
Updated all translations of string 1167, they're probably wrong, but without %s would have caused a crash.