Issue 1488: Fixed, Show page number dropdown in Grades page in Spreadsheets now persistent

Sorry it took a while chasing this one.

The problem was that in the Grade page in Spreadsheet, the drop down menu for per page was not persistent. When you set it to, say, 30, go to different page and come back, it resets to its default value which was not cool. The root cause of this was there was no code at all that creates a cookie or adds a cookie in order to remember this value (Assignments Submissions page have it)

The fix then was to create the cookie. I got stuck for a long time because the params value for :per_page wasn't there in the beginning but I realized that I can just create it and everything would be fine after that.

So yes, after the changes, the cookie is now successfully being created and it now successfully remembers the value you choose in the drop down.

Testing: Went to Grades page, selected a value in drop down, went to different page, came back and confirmed that it remembered the value selected in the drop down.
We can use `params[:per_page]` here, for consistency with adjacent lines.