apipie_404.html.erb fixes
apipie_404.html.erb fixes

- escape values coming from url parameters
- fix the check if resource exists

TwilightCoders/apipie-rails,lambda2/api-engine,komidore64/apipie-rails,ifeelgoods/apipie-rails,Apipie/apipie-rails,jcalvert/apipie-rails,42School/api-engine,johnnaegle/apipie-rails,42School/api-engine,ifeelgoods/apipie-rails,TwilightCoders/apipie-rails,lambda2/api-engine,ifeelgoods/apipie-rails,johnnaegle/apipie-rails,jcalvert/apipie-rails,42School/api-engine,komidore64/apipie-rails,jcalvert/apipie-rails,edwardjewson/apipie-rails,Apipie/apipie-rails,Apipie/apipie-rails,johnnaegle/apipie-rails,lambda2/api-engine,komidore64/apipie-rails,edwardjewson/apipie-rails,TwilightCoders/apipie-rails,edwardjewson/apipie-rails