Fixes #3656. Move libevent2021 to the v1.7 branch and make it the default.
Do some cleanup and renaming of platform files - no review required