Cleanup session.

Also sneaks in fix for image id size_t casting and adds a ton of ref count
related todos.
Move handle error to pyspotify and rename.