Altered method to pathCheck - typo
Continued work on this to use di on the request object and initial commit of
the extension checking part of fast_404 when the module is enabled.