Make Lua 5.1 a required dependency
Drop support for non-UTF-8 lua scripts
Remove the charset detection from TextFileReader since it's never used
Remove the use of wxRegex for case-insensitive filtering
Build wx without wxRegex
Disable a pile of wx things we don't use