only remove BOM on non-empty files to avoid a warning
Merge branch 'master' of github.com:pascalchevrel/langchecker
only remove BOM on non-empty files to avoid a warning + remove old gettext methods
move functions in lang_update to functions.inc.php
move error_logging to its own function for better logging flexibility and potentially use monolog library in the future
rename  as
move string loading in the main loop
wip, currently seems functional
Merge pull request #31 from pascalchevrel/issue-30

Issue 30
improve error handling for http request to github
Make locamotion import only modify local lang files that have changes and not reformat lang files with no change
Fix mass update of lang file for just one locale, that case was missing
exclude locamotion explicitely by default