Allow apps to have own 404 content, closes #3225