adds logic to ignore permalink structures for files named "index". Also adds related tests.
Merge pull request #23 from jonschlinkert/master

adds logic to ignore permalink structures for files named "index". Also ...