fix up error.ftl to show real problem

Can you believe error.ftl was still in JSP?  It was!  True!  I have ported it to Freemarker and this gives us better error messages when things go wrong.