Moved extensions into resources.

Could have changed around the resource path, but it seemed more intuitive
to just move the extensions.

As a result, changed how the tests loaded the extensions.
Made a page displaying formatted code.