remove obsolete astyle scripts and tools
remove binary documentation files leftover from HM source tree
prune uncrustify.exe; ignore any executable copied into that folder

uncrustify.bat was unused, so it was also removed
use unix EOLN for all non-bat files
rename intra docs, switch to unix eoln

--HG--
rename : doc/intra/T16.TXT => doc/intra/intra-16x16.txt
rename : doc/intra/T32.TXT => doc/intra/intra-32x32.txt
rename : doc/intra/T4.TXT => doc/intra/intra-4x4.txt
rename : doc/intra/T8.TXT => doc/intra/intra-8x8.txt
frameencoder: use CHECKED_MALLOC in getStreamHeaders()
common: rename CONFIRM macro to CHECK

The logic of the macro is:  if (expr) fail
So CONFIRM is highly misleading
common: prevent an API race hazard

The public API should be thread-safe for a given encoder or param object (they
are distinct data structures).  However x265 has a small number of global vars
that are configured on first use and must be the same for all encoders in the
same process (max CTU size and pixel bit-depth).  Using an atomic compare-and-
swap here prevents simultaneous encoder creations from violating those rules.
lowres intra fixes

--HG--
branch : stable
RateControl : Bug fix when previous estimated frame cost is zero

--HG--
branch : stable
Merge with stable
MinGW: build fix for common.cpp

--HG--
branch : stable
Merge with stable