Implemented a more robust solution to retrieving the current site's erro...

...r page.

Basically older versions of this module are having trouble determining which error page to use at deeper levels of the site tree. Though this has been addressed from 8c97eff2459b5ff573ac1c81aba708b3bba57bd6, I have cleaned up the code base a little by hooking into this a little nicer :)