cmake: tabs to spaces
entropy: settle on Entropy class name and member names

Through all these various refactors the SBAC/CABAC/entropy classes have all
merged together and the member variables were a scattered mix
fix for GCC warning about loop bounds
level: fix typo
slice: add ProfileTierLevel instance to VPS

The PTL data is coded in the VPS (first) and thus belongs with that data
structure, as it allows us to simplify arguments to the level set and
determination functions.
ptl: move enums from TypeDef.h to slice.h
level: move m_vps.maxDecPicBuffering logic into one function

This prevents duplicate logic from existing in two separate files
level: nit
cli: expose x265_param_apply_profile() via --profile

This is repairing an egregious oversight
param: fix profile warnings in x265_param_apply_profile()

This function was likely never used since it was not supported by the CLI till
now.  When the user specifies --profile Main10, they intend that the output
stream is decodable by a Main10 decoder. This is true of any Main encode.

The reverse is not true for --profile Main and a Main10 encode.  We must return
an error and abort the encode if --profile Main is specified and the encoder
was compiled for Main10 (HIGH_BIT_DEPTH).