add 404 response code to 404 handler; swap flatpage middleware fallback