* Fixed an issue that the `charset` rule in a CSS file is not correctly handled.
* Fixed an issue that BOM in a CSS file is not taking as highest precedence for charset detection.
* Fixed an issue that the document charset and the `charset` attribute of a `link` element are not honored when determining the encoding of a CSS file.
* Miscellaneous improvements and fixes of the internal code and unit test suite.