Error pages NOW WORKING

I know lots of commits but don't worry, the last one deletes all of the stuff that doesn’t work and adds the code that does work. This is the wonderful site that i followed http://ramblinglabs.com/blog/2012/01/rails-3-1-adding-custom-404-and-500-error-pages