Added optional location parameter to assertHttpRedirect.

This parameter is used to assert that the request was redirected to
the expected location.

I'm not familiar with mock, so I wasn't able to add a unittest. If anyone can give me pointers as to how that coud be done, I'll add it in.