adds test fixtures
adds logic to ignore permalink structures for files named "index". Also adds related tests.
fixes #20. adds logic to ignore permalink structures for files named "index", adds related tests.

replacement patterns now use regex instead of string replacement, since word boundaries aren't respected by moment.js