Fix various doc warnings
Fix warning for unused locale/file keys in template

Fixes #794