Rust 2018 conversion
I've converted termion to rust 2018 edition. I've tried to make minimal changes to the code, just making it compile without warnings. I've done this because I plan to add (optional) async support for a project of mine and async syntax requires 2018 edition.