Added support for different file encodings

The title says it all.

- Added iconv-lite
- New ini setting editor.encoding
- Failback to utf-8
- UI Header shows active encoding
@katywings that sounds great. Keep this line as it is and forget about adding error handling, since this line guarantees that there will be a fallback/default encoding.