Minor debug logging improvement

Now logging the method + path when in debug mode.
Code TODO Comment
Improved Context.InternalError()

The InternalError method now accepts multiple types. Type checking is performed before outputing the message. This reduces the burden of implementing InternalError().