Adds support for permalink folder and checks compatibility with WP 3.8

git-svn-id: https://plugins.svn.wordpress.org/404gottenorg-404-page/trunk@839094 b8457f37-d9ea-0310-8a92-e5e31aec5664