Add scripts to find and fix file encoding
Add missing magic encoding comment
Add test to ensure no files miss magic encoding comment.
Merge pull request #523 from doitian/magic-encoding

Add scripts to find and fix magic encoding comment issues.