Fix offline_gradecalc

Bug: Throws error when can't find a user on the request object for grading or can't find a session attribute.

Fix: Added to DummyRequest a user attribute with a value of the current student and a session attribute with a value of an empty dictionary.

@sefk 
@ormsbee 
@ichuang