In addition to .gb extension, added support for .gbc extension

In addition to existing support for the `.gb` extension, I added support for `.gbc` extension.

I also cleaned up an simplified support for uppercase extensions (in the process adding support for mixed case extensions).