Require ".ext" vs "ext" for has_any_extension

Also update renderer util and lettersmith-markdown.
Fix permalinks plugin to respect file extension