updates logic for headings template to also look for a function, not just a string.
improve defaults, language detection in particular.
change lang detection again. update readme
v0.1.2