Add a default for request.args.get

And, just for the heck of it, catch TypeError anyway.  Fixes #3107.
Merge pull request #1441 from djmitche/bug3107

Add a default for request.args.get