Add the ability to generate a files MD5sum.
This adds the ability to generate a files MD5sum in the ISO properties.
This uses polarssl to generate the MD5Sum.
Merge pull request #265 from Sonicadvance1/GenerateMD5Sum

Add the ability to generate a file's MD5sum.
Fix the integer overflow that happens in the MD5Sum Progressbar.

Instead of using a u64 size integer as the range on the progressbar, set the max as 1000.
Similar maximums are used in other parts of the UI.
Merge pull request #274 from Sonicadvance1/Fix-MD5Overflow

Fix the integer overflow that happens in the MD5Sum Progressbar.
Software backend: make TEV rounding match hardware.

Formulas stolen from gxtest.  (Not sure how "==" got turned into "!=", but
I'm pretty confident the patched version is correct.)
Software backend: don't skip red component in TEV.
Merge pull request #275 from magumagu/swbackend-fix-tev

Software backend: TEV combiner compare mode fixes
PixelShaderGen: Fix an issue with color combiner compare mode and simplify the affected line a bit.

This was a mistake of mine when translating floating point values to integer values.
Also, the max() part of that line was just completely redundant because the sign of an absolute value is always greater than or equal to zero.

Fixes issue 7178.
Merge pull request #276 from neobrain/master

PixelShaderGen: Color combiner compare mode fix and simplification
Initial moving of Timer over to using std::chrono.

Kills off deprecated ftime calls as well.
Some very minor cleanup to the logging window code.

- Move the UPDATETIME macro define out of global file scope and make it a
  local, since it's only used in one place.

- Use MathUtil's Clamp to slim down some if statements.