Custom error pages

- config can contain view file's name instead of a callback
Fix test apps' entrypoint