Add USE_DIRECTORIES directive for generating posts without ".html"

This works by generating directory with the same name as filename
before and adding index in give folder (refs #291)