bug 951956 - validate bug_number input

Oops! I missed in the review of this code that the "/bug_number/[\d+]" regex i ```urls.py``` is not actually used!

```request.GET``` is being used, so ensure that it is an ```int``` or fallback to ```None```