added state to progress update because needed by trakt.tv plugin

I've added "state" param to the progress request in order to be correctly processed by the trakt.tv plex plugin.
I've also added a final progress request to notify having finished/stopped the video, also needed to avoid leaving the show in status "watching" on trakt.tv for another 15 minutes.