Implements require.extensions

It allows to declare loaders for specific filename extensions.
It is needed for the support of CoffeeScript issue #36
Issue #36: Adds dummy modules needed by CoffeeScript
issue #36: Exit code of mozilla should be used as slimerjs exit code
Something was missing for the implem of require.extensions...