Make the ignoring of 'index' files an option

Not sure if this is useful to anyone else, but… I made the ignoring of 'index' files (as described in #20) an option, `ignoreIndexFiles`. If it is set to false, the defined `structure` will be used to construct the permalink, even for files with a basename of `index`.