Init the "eco" resource in the correct place.

By initializing the "eco" resource in the "lib" project we make sure
that the resource won't be removed when the library is compiled.
Update .gitignore
Fix EPD indexing performance on Windows

QTextStream::pos() is horribly slow on Windows. Let's use QFile
directly instead.