tools_tests.py: Take care of windows line endings
tools_tests.py: Take care of windows line endings

Depending on git configuration, line-ending of checked-out files
may be "\r\n" instead of "\n" for windows users. This causes the
hash values of files to change and tests will fail. Add hash
values for windows line-endings.

Replace b'\r\n' with b'\n' in the content of uncompressed files.

Change-Id: I5babeb7b3ea5d1800449e37a8a2b2c358eec663a

Darkdadaah/pywikibot-core,npdoty/pywikibot,wikimedia/pywikibot-core,hasteur/g13bot_tools_new,magul/pywikibot-core,magul/pywikibot-core,hasteur/g13bot_tools_new,Darkdadaah/pywikibot-core,happy5214/pywikibot-core,jayvdb/pywikibot-core,hasteur/g13bot_tools_new,wikimedia/pywikibot-core,npdoty/pywikibot,PersianWikipedia/pywikibot-core,jayvdb/pywikibot-core,happy5214/pywikibot-core