Handle QR code's with no URI segments gracefully

Instead of crashing if there are no segments in the URI (ie a root url), let's
just direct the user to the root category page.
Merge pull request #235 from iFixit/qr-code-crash-fix

Handle QR code's with no URI segments gracefully