Fix localconsts.h and debug.h includes.
Fix license headers.
Fix align in constructors.
Fix debug include.
Add support for simple texture size detection.

This test check from 1024 to max texture size reported by driver.
Initiate video detection on previous versions.
Fix texture size detection and saving.
Dont use detected texture size on Android and MacOSX.

Because here detection not implimented.
Detect max texture size also in safe OpenGL mode.
In max texture test, check actual texture drawing.
Ignore error on news downloading.
Fix max texture size detection.
Fix compilation warning.
Rename initGraphics into intoRenderers.
Refactor a bit video system initialisation.
In SDL2 build, prevent screenshot action if input field active.
Add function for show/test draw primitives.
Disable by default rectangular textures.
Move delay load code from resourcemanager into separate file.
Move from resourcemanager functions related to files into other files.