Make non-library ratings work

This PR makes calling the "rate" action work for non-library items. I tested calling the "rate" action with imdb id as "remoteid" on movies, tv shows and episodes and they all work as expected.