player: move python context to thread
player: move python context to thread

The python objects are moved to the thread stack and their destruction
is now done at thread exit, in addition to the finalization. This will
ensure that every operations and signals are done within the same
thread.

dillya/melo-webplayer