docview: Fixes encoding bug introduced in earlier refactoring

When I refactored the encoding conversion code, I accidentally write
HelpFile.Encoding, instead of Settings.Encoding. This meant that
changing the Encoding combobox in the docview main form had no affect.
Fixes a Windows 64-bit compile error relating to Windows.SetTimer()

The TIMERPROC signature has changed between FPC 2.6.0 and 2.6.2. This
minor changes now supports both compiler versions. I tested this under
32-bit and 64-bit FPC.
debug: replaced debug writeln() statements with SendDebug() calls.

Debugging with the debug server is much easier than looking at command line
output.
Adds CP1251 to UTF8 encoding conversion
Adds much faster Canvas.CopyRect() implemenation for the GDI backend.
Added method ImageFromByte in TfpgBaseImgAnim. Now animation can be loaded from memory, not only from filename
Added Graeme suggestions
Much faster CopyRect() implementation for X11
Fixes a small spelling mistake in the .gitattributes file.
Merge remote-tracking branch 'dibo/fpgimganim' into develop

This adds the ability to read image data from a in-memmory byte array,
instead of always from a file. Thanks Dibo!
animation: removed the checking of filename in the HandlePaint event.

If we have a FImage instance, that should be good enough.
animation: added overloaded methods.

- Specifying the mask sample point is now optional for ImageFromByteArray
  If sample point is not specified, then (0,0) is used.
- Introduced an overloaded SetImageFilename() method what can take
  a sample mask point too.
Only call DocView if fpgApplication.HelpFile is set.
Merge branch 'develop' into lesswindows

Conflicts:
	src/corelib/x11/fpg_x11.pas