Throw 404 if media is not found in MediaController::rateAction
Adds 3 tests for setting a media item's rating