Make `Terminal` emit a signal upon encoding change

See #11234 https://github.com/ariya/phantomjs/pull/11234
Spin off from #11168 https://github.com/ariya/phantomjs/pull/11168
Teach `File` how to change its encoding

If a `File` is in "text" mode, then it has an encoding.  This
encoding defaults to UTF-8; however, it can be set only at time of
construction (by using `fs.open`).

This modification allows the user to change the encoding on-the-fly
for "text" mode `File` instances.

See #11234 https://github.com/ariya/phantomjs/pull/11234
Spin off from #11168 https://github.com/ariya/phantomjs/pull/11168
Synchronize std{in,out,err} encoding with `Terminal`

See #11234 https://github.com/ariya/phantomjs/pull/11234
Spin off from #11168 https://github.com/ariya/phantomjs/pull/11168
Updated rpm spec file to work with 1.9.

Issue #10939: https://github.com/ariya/phantomjs/issues/10939
ChangeUrl to accept an encoded string

Issue #11243: https://github.com/ariya/phantomjs/issues/11243.
Alphabetize rpm spec file names
Update changelog

- Describe %files change
- Fix year in timestamp in previous changelog entry