Use CodeLoader.source_extension abstraction everywhere

There were still some parts of codeloader using hard-coded ".rb" instead
of the source_extension abstraction. Every occurrence has been replaced.