Make the extension code read more like C.

Still a long ways to go. Need to rename the module and class globals to read more like C as well, and come up with a naming convention for ruby VALUEs and C variables.