Fix flash_messages.error(request, msg) call, object receives only msg.

Also occurs in 0.7.1
Merge pull request #1371 from vdboor/fix-basket-errormsg

Fix internal server error in with flash_messages.error(request, msg) call