BUG onBeforeHTTPError404 must be public to be invokable

Fixing an error where framework/core/Object.php#998 was falling over trying to call onBeforeHTTPError404() which was protected, causing the whole module to fail.
Merge pull request #8 from IgorNadj/patch-1

BUG onBeforeHTTPError404 must be public to be invokable