Fixed custom error template location.

Moved custom error templates from frontend template folder to global template folder.