add more recognized file extensions, patterns for YAML front matter and code comments

add more file extensions to be more accommodating to others
add patterns for YAML front matter