Don't assume that public path is #{root}/public

Reflecting on the configured public directory allows custom 404 serving even when the public directory is moved (e.g. in .war files generated by warbler).